Learn how to make the most out of the Dropbox Community here 💙. 

Forum Discussion

GustavBrock's avatar
GustavBrock
New member | Level 1
2 months ago
Solved

Different lengths of access_token

When I refresh the access_token, the length of the new access_token is sometimes 1459 characters, sometimes 151 characters.  Why is that, and should I care?
  • DB-Des's avatar
    DB-Des
    2 months ago

    GustavBrock,

    OAuth access tokens are an encoded string all of the necessary access information. This information varies from information about the user's identity, their permissions or scopes, the issuing application, expiration time, etc. The length variance could be, in part, due to time (such as expiration, time of issuance, etc.) being encoded into this string.

    Hope you find this information helpful!

About Discuss Dropbox Developer & API

Node avatar for Discuss Dropbox Developer & API
Make connections with other developers809 PostsLatest Activity: 9 days ago
226 Following

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!