shahinbdboy / google-api-php-client

Automatically exported from code.google.com/p/google-api-php-client
Apache License 2.0
0 stars 0 forks source link

mysterious $apiConfig in wiki sample page #123

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
In Wiki page "OAuth 2.0 support" here beside is mentioned 
$apiConfig['oauth2_redirect_uri'] as it should be in "the sample code below", 
but in the sample code below there is no $apiConfig.

Should I add this $apiConfig['oauth2_redirect_uri'] to the sample script?  
(with my real redirect URI of course)

$apiConfig Is the same as  $client->setRedirectUri('...')  or they have 
different behavior?

I feel embarrassed... 
Thanks

Original issue reported on code.google.com by chicome...@gmail.com on 3 May 2012 at 2:38

GoogleCodeExporter commented 8 years ago
Hi Chico,

Thank you for bringing this up! That document was pretty old, and wasn't 
updated to reflect the latest version of the client library.

Can you please take another look at 
http://code.google.com/p/google-api-php-client/wiki/OAuth2 and see if it makes 
sense?

Thank you!
Chirag Shah

Original comment by chirags@google.com on 15 May 2012 at 9:08

GoogleCodeExporter commented 8 years ago

Original comment by chirags@google.com on 16 May 2012 at 5:08