Merge pull request #960 from cisagov/za/issued-in-the-future-bug

Update oidc.py
This commit is contained in:
zandercymatics 2023-08-30 13:17:06 -06:00 committed by GitHub
commit 2d6519b9e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -238,6 +238,9 @@ 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.
skew=10,
)
except Exception as err:
logger.error(err)