Current date\/time MUST be before the expiration date\/time listed in the 'exp' claim

新規投稿

コメント

1件のコメント

  • mwiller

    Hi  — based on your description, I think that what's happening here is something like the following scenario:

     

    1. Your app generates a JWT with exp claim having time (current_time + N seconds)

    2. Since there are a high number of requests being sent, the request with the above JWT gets rate limited, and must be retried later

    3. The request is retried more than N seconds later and the exp claim encoded in the JWT is no longer valid, so the request fails with the error you mentioned

     

    We've solved this issue in many of our Box SDKs by re-generating the JWT for requests that need to be retried; that way the exp claim is always current.  Could you try making that change and let me know if that fixes your issue?

    0
    コメントアクション パーマリンク

サインインしてコメントを残してください。