Reputation: 2102
I'm currently using the dropbox api, and got some doubts about oauth access token:
Upvotes: 0
Views: 195
Reputation: 16930
No, Dropbox API access tokens don't expire by themselves, but they can be revoked by the user or app at any time.
You only need an access token to make API calls for the linked user, but you may also wish to save more information, such as a user ID, depending on the needs of your app. (E.g., for keeping track of which access token corresponds to which account, etc.)
If you lose the access token, or it is revoked, you'd need to prompt the user to process the OAuth app authorization flow again to get a new one if they wish to continue using the Dropbox integration.
Upvotes: 1