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

fix: skew of 30 seconds for JWT validation #2772

Merged
merged 1 commit into from
Apr 28, 2023

Conversation

steve-chavez
Copy link
Member

Closes #1139.

Use a 30 seconds skew by default as per google recommendations here. Previous 1 second skew was too strict.

Hard to test for now. We'll just monitor if #1139 gets more reports.

@steve-chavez
Copy link
Member Author

steve-chavez commented Apr 28, 2023

So weird why suddenly the pg 15 io tests fail.

Can't repro locally, maybe it's just an sporadic thing.

@steve-chavez steve-chavez merged commit c10ba8e into PostgREST:main Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

JWTIssuedAtFuture failure for valid JWT token
1 participant