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

remove scope from params for google service

Open nhulsch opened this issue 6 years ago • 4 comments

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

nhulsch avatar Aug 21 '18 12:08 nhulsch

There is an other param to remove 'hd'

ramssesable avatar Jun 20 '19 01:06 ramssesable

@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

nhulsch avatar Jun 20 '19 06:06 nhulsch

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.

ramssesable avatar Jun 20 '19 16:06 ramssesable

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

nhulsch avatar Jun 28 '19 14:06 nhulsch