knowledge-repo icon indicating copy to clipboard operation
knowledge-repo copied to clipboard

Google OAuth error

Open tillwf opened this issue 4 years ago • 4 comments

When I try to use Google Oauth I get the login page and after choosing my account I get this screen:

image

and no error on the browser console neither on the server terminal.

Launching the code with the --debug parameter, I get the warning:

Warning: Scope has changed from "https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/userinfo.profile" to "https://www.googleapis.com/auth/userinfo.email openid https://www.googleapis.com/auth/userinfo.profile".

I then found this link that suggested to set set env variable OAUTHLIB_RELAX_TOKEN_SCOPE.

I did it and it worked.

Should this parameter be added to the default config file ?

tillwf avatar Jun 30 '20 14:06 tillwf

@naoyak any idea about this?

bulam avatar Jul 01 '20 05:07 bulam

@till Feel free to put in a PR for this change :)

bulam avatar Jul 10 '20 21:07 bulam

@bulam you probably didn't mean me?

till avatar Jul 10 '20 22:07 till

@JJJ000 please see if this issue has been fixed with the recent updates

csharplus avatar Jan 11 '23 17:01 csharplus