Update oidc.py

This commit is contained in:
zandercymatics 2023-08-30 12:34:11 -06:00
parent 93ec99185b
commit 560d2c3ac5
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -238,6 +238,10 @@ class Client(oic.Client):
"client_secret": self.client_secret,
},
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:
logger.error(err)