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
Original issue reported on code.google.com by
jim.d...@gmail.com
on 17 Jan 2014 at 9:47Attachments: