mirror of
https://github.com/simple-login/app.git
synced 2025-09-11 17:14:22 +08:00
Fix Google oauth_state KeyError
This commit is contained in:
parent
8fa0927826
commit
cde8452e5b
1 changed files with 2 additions and 1 deletions
|
@ -53,7 +53,8 @@ def google_callback():
|
|||
|
||||
google = OAuth2Session(
|
||||
GOOGLE_CLIENT_ID,
|
||||
state=session["oauth_state"],
|
||||
# some how Google Login fails with oauth_state KeyError
|
||||
# state=session["oauth_state"],
|
||||
scope=_scope,
|
||||
redirect_uri=_redirect_uri,
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue