mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-13 04:59:59 +02:00
Merge pull request #960 from cisagov/za/issued-in-the-future-bug
Update oidc.py
This commit is contained in:
commit
2d6519b9e0
1 changed files with 3 additions and 0 deletions
|
@ -238,6 +238,9 @@ 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.
|
||||||
|
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