Category : google-oauth

Hello I am trying to get access token using Google api client PHP in CodeIgniter when I load this localhost:8080/google/callback i am getting following error Too few arguments to function GoogleClient::authenticate(), 0 passed in E:wampwwwmyprojectappControllersGoogle.php on line 41 and exactly 1 expected here is code public function callback(){ define(‘GOOGLE_CLIENT_ID’, ‘XXXX’]); define(‘GOOGLE_CLIENT_SECRET’, ‘XXXX’); // Create Client ..

Read more

I do this steps: Take token from https://oauth2.googleapis.com/token using auth code Its success and shows me access_token, expires_in, refresh_token and etc Then i use it to check with API opening https://www.googleapis.com/oauth2/v3/userinfo?access_token=xxx All works perfect. I see my information. Then i revoke token with https://oauth2.googleapis.com/revoke and get success answer with 200 code Try again step 3, ..

Read more