yii2-eauth
yii2-eauth copied to clipboard
remove scope from params for google service
This is more or less the same as Pull request #119 but implements a callback url override just for the GoogleService and not globally as other services might break.
Also it doesn't change your composer.json
There is an other param to remove 'hd'
@ramssesable is 'hd' a custom parameter of your application? in my latest tests, google doesn't accept ANY params anymore when retrieving the access_token from the /token endpoint
Isn't mine custom parameter, I just get it from the Google widget. It could be a console.developers params, because is the domain of the account i use for the project.
okay, the hd= parameter is for G Suite accounts. I've changed it to remove ANY parameter as google doesn't seem to like any from now on