Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Debias clock leeway on auth tokens #150

Merged
merged 1 commit into from
Feb 16, 2023

Conversation

dmihalcik-virtru
Copy link
Member

Previously, we added 2 hours of leeway to the expiration. This is resulting in a significant percentage of our requests failing due to jwt.exceptions.ImmatureSignatureError: The token is not yet valid (iat). This change adjusts the values to be an hour in the past or future, hopefully reducing the incidence of this error.

Previously, we added 2 hours of leeway to the expiration. This is resulting in a significant percentage of our requests failing due to `jwt.exceptions.ImmatureSignatureError: The token is not yet valid (iat)`. This change adjusts the values to be an hour in the past or future, hopefully reducing the incidence of this error.
@dmihalcik-virtru dmihalcik-virtru requested a review from a team as a code owner February 16, 2023 20:33
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.3% 0.3% Duplication

@dmihalcik-virtru dmihalcik-virtru merged commit 4edfee3 into opentdf:main Feb 16, 2023
@dmihalcik-virtru dmihalcik-virtru deleted the feature/unbias-skew branch February 16, 2023 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants