Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
Naga Abhinaya T
10 years agoExplorer | Level 4
Encoding data to state parameter and decoding it
Hi,
I am developing an app in dropbox using OAuth2.0 authorization flow. It involves redirection as well. I would like to store some data and retrieve data after redirection. As stated in documentation, 'state' parameter can be used to store data and get back the same. How can I store data and retrieve? what encoding algorithm is used? Please advise.
2 Replies
Replies have been turned off for this discussion
- Greg-DB10 years ago
Dropbox Community Moderator
Any URL-safe encoding method should work. For example the Dropbox Java SDK uses a URL -safe version of base 64 encoding to store the CSRF token in the state parameter.
- Naga Abhinaya T10 years agoExplorer | Level 4
Thanks Gregory!
About Dropbox API Support & Feedback
Find help with the Dropbox API from 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!