This commit is contained in:
jasquat 2023-03-06 14:28:55 -05:00
parent 1bdc985982
commit 328fdf88f0
No known key found for this signature in database
2 changed files with 6 additions and 2 deletions

View File

@ -101,7 +101,11 @@ def verify_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.new_access_token = auth_token["id_token"]
tld.new_id_token = auth_token["id_token"]