cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Great and all as it is to hear how we use Dropbox, we want to know how you use it! Day to day, big projects, sharing files with friends and family - we want to know about it.

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

Re: Unable to receive authorization code in Redirect URI

Greg-DB
Dropboxer

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-...

Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropboxer
What do Dropbox user levels mean?
Need more support?