cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Back again with another edition of 'How we use Dropbox', so find out how Emma uses to-do lists to get it all done here!

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Where to put redirect URL after authentication?

Where to put redirect URL after authentication?

fmmmf
Explorer | Level 3

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.

1 Accepted Solution

Accepted Solutions

Re: Where to put redirect URL after authentication?

Greg-DB
Dropboxer
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?

View solution in original post

2 Replies 2

Re: Where to put redirect URL after authentication?

Greg-DB
Dropboxer
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?

View solution in original post

Re: Where to put redirect URL after authentication?

fmmmf
Explorer | Level 3
Sorry we got it sorted, there was an architectural issue on our end. Thanks though!
Poll
We love to learn from the educators who use Dropbox. Whether you teach kids, teens, adults or a combination of all three, we want to know what apps and integrations you use with Dropbox to help with teaching. Which of the ones below is your favorite, or most used tool?
Who's talking

Top contributors to this post

  • User avatar
    fmmmf Explorer | Level 3
  • User avatar
    Greg-DB Dropboxer
What do Dropbox user levels mean?
Need more support?