cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Tell us what you want to see on the Community here!
Close

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

Highlighted

Unable to receive authorization code in Redirect URI

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
Highlighted

Re: Unable to receive authorization code in Redirect URI

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

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?