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

How do I construct the JWT Assertion in Google App script?

回答済み
新規投稿

コメント

1件のコメント

  • scuba

    There are many libraries available here as well as SDKs to handle JWT assertions. I would suggest using one that has a lot of usage and good documentation on how to use the library.

     

    JWT Assertions used with the Box API require the "exp" (expire) claim and can be set to a max of 60 seconds, though it recommended to set it to less than the maximum. So yes, you should be creating a new JWT for each access token request. However, access tokens are valid for 60 minutes so you really don't have to be creating JWTs very often.

     

    hope that helps.

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

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