mirror of
https://github.com/GAM-team/GAM.git
synced 2025-07-07 05:03:34 +00:00
Update signjwt.py
This commit is contained in:
@ -84,7 +84,8 @@ class SignJwt(google.auth.crypt.Signer):
|
|||||||
try:
|
try:
|
||||||
credentials, _ = google.auth.default(scopes=_IAM_SCOPES,
|
credentials, _ = google.auth.default(scopes=_IAM_SCOPES,
|
||||||
request=request)
|
request=request)
|
||||||
except google.auth.exceptions.DefaultCredentialsError as e:
|
except (google.auth.exceptions.DefaultCredentialsError,
|
||||||
|
google.auth.exceptions.RefreshError) as e:
|
||||||
controlflow.system_error_exit(2, e)
|
controlflow.system_error_exit(2, e)
|
||||||
httpObj = transport.AuthorizedHttp(
|
httpObj = transport.AuthorizedHttp(
|
||||||
credentials,
|
credentials,
|
||||||
|
Reference in New Issue
Block a user