bumplzz69 / google-api-python-client

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

Update all samples to use /oauth2callback #18

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The default redirect_uri path for OAuth 2.0 credentials created in the APIs 
Console is /oauth2callback. All samples should be updated to use that path.

Original issue reported on code.google.com by jcgregorio@google.com on 22 Apr 2011 at 3:19

GoogleCodeExporter commented 9 years ago
Might be nice to use "oauth2callback" (no-slash) since it seems that 
relative_url function ignores the path of the current uri.

i.e. a request_handler at http://localhost:8080/oauth2/ will return 
"http://localhost:8080/callback" if you call relative_url("/callback"), but 
will return "http://localhost:8080/oauth2/callback" if you call 
relative_url("callback").

I found this confusing when setting up oauth2.

Original comment by cameront@gmail.com on 15 Oct 2011 at 10:24

GoogleCodeExporter commented 9 years ago

Original comment by jcgregorio@google.com on 9 Nov 2011 at 6:49