新しいBoxサポートサイトへようこそ。 変更点の詳細はこちらをご確認ください .

JWT authentication Internal Server Error

新規投稿

コメント

1件のコメント

  • jcleblanc

    Hi lukasfigueiredo,

     

    Are you setting exp to the exact time returned by strtotime()? If so, that might be the issue. You'll want to set exp to the current timestamp, plus an additional 1-60 seconds in the future (the grant is valid for up to 60 seconds). For instance, here's how I'm setting it in Node / JS, adding an additional 45 seconds in the future.

     

    exp: Math.floor(Date.now() / 1000) + 45

    Hopefully that helps,

    Jon

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

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