Are there any ways to create a no-expiration token? Thanks
berniebetgcarpio wrote: Are there any ways to create a no-expiration token?
Are there any ways to create a no-expiration token?
Long-lived tokens were deprecated back in 2021 and can no longer be created. You now use refresh tokens to retrieve new short-lived tokens as needed. See here for more information:
Hi @berniebetgcarpio,
As @Rich mentioned, Dropbox issues short-lived access tokens (and optional refresh tokens) instead of long-lived access tokens.Apps can still get long-term access by requesting "offline" access though, in which case the app receives a "refresh token" that can be used to retrieve new short-lived access tokens as needed, without further manual user intervention. Refresh tokens do not expire automatically and can be used repeatedly. You can find more information in the OAuth Guide and authorization documentation. There's a basic outline of processing this flow in this blog post which may serve as a useful example.