We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
fmmmf
9 years agoExplorer | Level 3
Where to put redirect URL after authentication?
Fairly new to the .net architecture and trying to incorporate the dropbox API into our webapp - we have OAuth set up, and currently we are sending both antiforgerytokens and the redirect URL in the 'state' parameter (as seen here) however the encrypted state we are sending becomes too long as the redirect URL is long to begin with - was wondering if there's another way to send the redirect URL (not the redirect URI which is generated by the app...) via the API so the user is able to go back to our web app after authentication?
Also from the embedded link above: the "redirect_uri String? Where to redirect the user after authorization has completed. " sentence is kind of misleading, almost as though this is the parameter im looking for but its asking for the Dropbox generated URI and not the redirect url (where to send the user after auth).
Any help is much appreciated, thanks.
- I'm afraid I'm not sure I follow. Generally, there should just be a single redirect URI, which is specific to your app and should be supplied by your app in the 'redirect_uri' URL parameter, and not in the 'state' parameter.
Can you share a sample that shows the problem you're running in to?
2 Replies
- Greg-DB9 years ago
Dropbox Community Moderator
I'm afraid I'm not sure I follow. Generally, there should just be a single redirect URI, which is specific to your app and should be supplied by your app in the 'redirect_uri' URL parameter, and not in the 'state' parameter.
Can you share a sample that shows the problem you're running in to? - fmmmf9 years agoExplorer | Level 3Sorry we got it sorted, there was an architectural issue on our end. Thanks though!
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!