dheerajrajjak / google-api-python-client

Automatically exported from code.google.com/p/google-api-python-client
0 stars 0 forks source link

redirect_uri not set for step2_exchange in oauth2client.client.OAuth2WebServerFlow #174

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
[Use this form for both apiclient and oauth2client issues]

What steps will reproduce the problem?
1. Install the latest version available through pip
2. Try to do the OAuth2WebServerFlow documented at: 
https://developers.google.com/api-client-library/python/guide/aaa_oauth
3. When doing step2, trying to exchange for token, invalid_request will be 
raised. 

What is the expected output? What do you see instead?
A valid access token, instead FlowChangeError is raised with invalid_request

What version of the product are you using? On what operating system?
google-api-python-client==1.0c2 on Mac OS X

Please provide any additional information below.
I noticed that there had been changes made in how the redirect_uri was set in 
the repository, so I changed my local copy to set the redirect_uri in the class 
constructor as well and after that I could continue.

So I'm guessing a new release would solve this problem.

Thanks,
Björn

Original issue reported on code.google.com by bj...@mediapopinc.com on 13 Aug 2012 at 10:28

GoogleCodeExporter commented 8 years ago
Yes, I believe this will be fixed in the latest release.

Original comment by afs...@google.com on 13 Aug 2012 at 3:46

GoogleCodeExporter commented 8 years ago
Still I am getting same error with Jun 25 release. Is there any latest version 
than this. 

Original comment by ananda...@gmail.com on 29 Aug 2012 at 6:53

GoogleCodeExporter commented 8 years ago
A new release hasn't been done yet. Please try pulling from head and see if 
that solves the issue:

  http://code.google.com/p/google-api-python-client/source/checkout

Original comment by jcgregorio@google.com on 29 Aug 2012 at 10:57

GoogleCodeExporter commented 8 years ago

Original comment by jcgregorio@google.com on 4 Sep 2012 at 1:45