Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
GustavBrock
10 months agoNew member | Level 1
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?
- 10 months ago
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!
GustavBrock
10 months agoNew member | Level 1
Thanks. Yes, I'm aware of that, and I had read the documentation.
It is not the actual length of the tokens, but the fact that they for the exact same call within a minute may switch - about ten long tokens for one short - that caught my attention during test. At production, I will only refresh when needed.
As a developer, I just wonder about the rationale behind this; my own applications would publish only one type of token for a given type of call.
So, no priority, only curiosity.
DB-Des
Dropbox Community Moderator
10 months agoOAuth 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
Make connections with other developers
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
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, Facebook or Instagram.
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!