mirror of
https://github.com/sartography/spiff-arena.git
synced 2025-01-28 02:05:52 +00:00
Minor fix to avoid an endless set of error messages if your session times out and you are using the builtin openid.
This commit is contained in:
parent
e0017e4a88
commit
dfe0280237
@ -101,7 +101,7 @@ def verify_token(
|
|||||||
refresh_token
|
refresh_token
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
if auth_token and "error" not in auth_token:
|
if auth_token and "error" not in auth_token and "id_token" in auth_token:
|
||||||
tld = current_app.config["THREAD_LOCAL_DATA"]
|
tld = current_app.config["THREAD_LOCAL_DATA"]
|
||||||
tld.new_access_token = auth_token["id_token"]
|
tld.new_access_token = auth_token["id_token"]
|
||||||
tld.new_id_token = auth_token["id_token"]
|
tld.new_id_token = auth_token["id_token"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user