cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox 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: 

Unable to receive authorization code in Redirect URI

Unable to receive authorization code in Redirect URI

nilamchorghe
Explorer | Level 3

I am trying to call 'DropboxOAuth2Helper.GetAuthorizeUri()' method with 'OAuthResponseType.Code' but unable to receive code in the redirect URI but when I use the response type as token, I am able to get the token in the URI. Please let us know if there is any way to get the code in the redirect URI.

1 Reply 1

Greg-DB
Dropbox Staff

Can you elaborate on what you mean when you say you are "unable to receive code in the redirect URI"? What are you trying, and what isn't working as expected?

For using the OAuthResponseType.Code flow, I recommend checking out the SimpleBlogDemo example, which has that implemented here:

https://github.com/dropbox/dropbox-sdk-dotnet/blob/d0b609bf7ca97051eb91f3802b49931389ba7404/dropbox-...

If you want to see the OAuthResponseType.Token flow, you can refer to the SimpleTest example instead:

https://github.com/dropbox/dropbox-sdk-dotnet/blob/b8f5c751f9df6765f4e2bbb98b39bc6bde5cfadc/dropbox-...

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?