airbnb / knowledge-repo

A next-generation curated knowledge sharing platform for data scientists and other technical professions.

Repository from Github https://github.comairbnb/knowledge-repoRepository from Github https://github.comairbnb/knowledge-repo

Google OAuth error

tillwf opened this issue · 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 ?

@naoyak any idea about this?

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

commented

@bulam you probably didn't mean me?

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