Docker calibre-web Problem enabling gmail account with OAUTH2 verification

I just tested and also had isssues. Here is the feedback
hastebin - onepeponep

this was during the oauth link portion to an existing account, i didnt make it to a login attempt.

this failure was after following the changes mentioned in
Google Oauth error · Issue #1998 · janeczku/calibre-web (github.com)

as a note, in case you didnt know, you cant use oauth to login until you login normally and link your oauth account (this is per user, an admin can’t do it)

--------- it looks like a change is that calibre-web must be launched with the environment variable OAUTHLIB_RELAX_TOKEN_SCOPE which it looks like we dont mention in our readme yet.

to work around this issue, modify your compose and under environment, add

- OAUTHLIB_RELAX_TOKEN_SCOPE=1
then it will work. I just tested myself and was able to link the account, logout, login with google.