Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with Dropbox Oauth2 #29

Open
GoogleCodeExporter opened this issue Mar 25, 2015 · 1 comment
Open

Problem with Dropbox Oauth2 #29

GoogleCodeExporter opened this issue Mar 25, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?

  1. Setup dropbox app console: https://www.dropbox.com/developers/apps 
  2. Fill in oauth.Config
  3. trasnport.AuthCodeURL() returns url with empty params: access_type and approval_prompt.  This causes dropbox API server to reject /authorize request.
  4. transport.Exchange passes in empty scope param.  This causes dropbox API server to reject /token request.

What is the expected output? What do you see instead?

  Dropbox oauth2 flow should succeed.

What version of the product are you using? On what operating system?

  I'm running go version 1.2 on Mac OSX

Please provide any additional information below.

  I've attached a patch to fix this problem.  Are you open to this fix?

Original issue reported on code.google.com by jim.d...@gmail.com on 17 Jan 2014 at 9:47

Attachments:

@GoogleCodeExporter
Copy link
Author

Original comment by bradfitz@golang.org on 10 Aug 2014 at 5:59

  • Changed title: Problem with Dropbox Oauth2
  • Added labels: ****
  • Removed labels: ****

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant