pyl
This commit is contained in:
parent
b27b7346c9
commit
b30ed8f3c1
|
@ -101,7 +101,11 @@ def verify_token(
|
||||||
refresh_token
|
refresh_token
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
if auth_token and "error" not in auth_token and "id_token" 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…
Reference in New Issue