yii2-eauth icon indicating copy to clipboard operation
yii2-eauth copied to clipboard

adding new scope in google_oauth2 breaks

Open gunnrryy opened this issue 8 years ago • 1 comments

on adding SCOPE_GPLUS_LOGIN, code breaks and pop up also doesnt close. Error says: error retriving token.

can we do something about it?

gunnrryy avatar Sep 08 '16 12:09 gunnrryy

default scopes SCOPE_EMAIL, SCOPE_PROFILE are working. I assume, in this process we are just fetching the AccessToken, where as when i added SCOPE_GPLUS_LOGIN scope, the immidiate error is thrown Error retriving Token which is set later on in my process. tried to debug it. in serviceProxy;

$data = $this->service->parseAccessTokenResponse($responseBody); $data['error'] is set and responds invalid_grant

gunnrryy avatar Sep 08 '16 12:09 gunnrryy