knowledge-repo
knowledge-repo copied to clipboard
Google OAuth error
When I try to use Google Oauth I get the login page and after choosing my account I get this screen:
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 ?
@naoyak any idea about this?
@till Feel free to put in a PR for this change :)
@bulam you probably didn't mean me?
@JJJ000 please see if this issue has been fixed with the recent updates