mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-16 09:37:03 +02:00
Update oidc.py
This commit is contained in:
parent
93ec99185b
commit
560d2c3ac5
1 changed files with 4 additions and 0 deletions
|
@ -238,6 +238,10 @@ class Client(oic.Client):
|
||||||
"client_secret": self.client_secret,
|
"client_secret": self.client_secret,
|
||||||
},
|
},
|
||||||
authn_method=self.registration_response["token_endpoint_auth_method"],
|
authn_method=self.registration_response["token_endpoint_auth_method"],
|
||||||
|
# There is a time desync issue between login.gov and cloud,
|
||||||
|
# this addresses that by adding a clock skew.
|
||||||
|
# See here: https://github.com/GSA-TTS/FAC/pull/1968#pullrequestreview-1601224051
|
||||||
|
skew=10,
|
||||||
)
|
)
|
||||||
except Exception as err:
|
except Exception as err:
|
||||||
logger.error(err)
|
logger.error(err)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue