mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-03 20:31:35 +00:00
Another #1829 fix
This commit is contained in:
@@ -11025,7 +11025,7 @@ class Credentials(google.oauth2.credentials.Credentials):
|
|||||||
expiry = info.get('token_expiry')
|
expiry = info.get('token_expiry')
|
||||||
if expiry:
|
if expiry:
|
||||||
# Convert the raw expiry to datetime
|
# Convert the raw expiry to datetime
|
||||||
expiry = arrow.Arrow.strptime(expiry, YYYYMMDDTHHMMSSZ_FORMAT)
|
expiry = arrow.Arrow.strptime(expiry, YYYYMMDDTHHMMSSZ_FORMAT, tzinfo='UTC').naive
|
||||||
id_token_data = info.get('decoded_id_token')
|
id_token_data = info.get('decoded_id_token')
|
||||||
|
|
||||||
# Provide backwards compatibility with field names when loading from JSON.
|
# Provide backwards compatibility with field names when loading from JSON.
|
||||||
|
|||||||
Reference in New Issue
Block a user