Nodge / yii2-eauth

EAuth extension allows to authenticate users by the OpenID, OAuth 1.0 and OAuth 2.0 providers.
BSD 2-Clause "Simplified" License
196 stars 128 forks source link

adding new scope in google_oauth2 breaks #90

Open gunnrryy opened 8 years ago

gunnrryy commented 8 years ago

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 commented 8 years ago

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