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

Is that possible to increase expires_in time for token?

回答済み
新規投稿

コメント

4件のコメント

  • Peter Christensen

    Hi Mitsu

    The standard box access tokens you get from our OAuth2.0, JWT or Client Credentials Grant apps has a 60 minute lifetime. There is not an option in the API to increase this lifetime. Depending on your exact use case you could look into https://developer.box.com/guides/applications/limited-access-apps/ which allows for longer lived tokens but comes with its own limitations. 

    Best regards, Peter Christensen, Platform Solutions Engineer, Box

    0
    コメントアクション Permalink
  • Mitsu Chatrola

    Thanks Peter Christensen. Link to limited access app says we should use it if we "wants to use Box View or only Box's preview services" but list of APIs under it shows support for upload, download etc... So my question is If we go with limited access app do we able to use upload, download functionality?

    0
    コメントアクション Permalink
  • Peter Christensen

    It is supported but not designed for it I think is the point they are trying to make. The limited access app is normally used when you are sharing something without a specific user context - eg. public documents on a website - as the long life token always belongs to the app. So it depends on your exact use case whether it makes sense to use this.

    0
    コメントアクション Permalink
  • Mitsu Chatrola

    Yup this make sense. Thanks Peter Christensen

    0
    コメントアクション Permalink

投稿コメントは受け付けていません。