You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
charlesfish
4 years agoExplorer | Level 3
Changing OAuth2 Access Token Manually
Hey guys,
I created a Dropbox App using developer and I was wondering if I could manually set the OAuth2 access token? I was hoping that I could set it to a value that I choose, but I don't seem to have an option for that. Do I have to just us an auto-generated one? I am using the free account, so if there is an account to purchase I am able to do that.
Thanks!!
Charles
No, there isn't a way to retrieve old access tokens from Dropbox. Note that you shouldn't need to, though. Any particular app-user pair (such as an app you created connected to your own account) can have multiple access tokens.
It sounds like you're referring to using the "Generate" button on the app's page on the App Console to get an access token for your app on your account. That will generate and show you an access token when you use it, but it won't give the same access token if you return to the page again later (or just refresh the page). The intent is that you would store and re-use a given access token, if desired.
In any case, creating a new access token doesn't invalidate old ones, so you can continue using old ones even if you've created new ones too.
- Greg-DBDropbox Staff
No, Dropbox doesn't offer the ability to set your own access token strings. You'll need to use the strings generated by Dropbox.
- charlesfishExplorer | Level 3
Is there anyway to check what the current Auth 2 key is or revert to an old one? It looks like the only way we can check what the key is is by generating a new one, which doesn't seem ideal. Also, we accidentally generated a new one, so now we have a bunch of devices that have an old key. It would be nice to revert back to that old key so those devices can be upgraded again.
Thanks again!!
Charles
- Greg-DBDropbox Staff
No, there isn't a way to retrieve old access tokens from Dropbox. Note that you shouldn't need to, though. Any particular app-user pair (such as an app you created connected to your own account) can have multiple access tokens.
It sounds like you're referring to using the "Generate" button on the app's page on the App Console to get an access token for your app on your account. That will generate and show you an access token when you use it, but it won't give the same access token if you return to the page again later (or just refresh the page). The intent is that you would store and re-use a given access token, if desired.
In any case, creating a new access token doesn't invalidate old ones, so you can continue using old ones even if you've created new ones too.
About Discuss Dropbox Developer & API
Make connections with other developers
797 PostsLatest Activity: 2 days agoIf 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!