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

Don't rely on the exp fields of unsigned JWTs #122

Merged
merged 1 commit into from
Apr 11, 2024
Merged

Don't rely on the exp fields of unsigned JWTs #122

merged 1 commit into from
Apr 11, 2024

Conversation

simenheg
Copy link
Contributor

@simenheg simenheg commented Apr 5, 2024

Don't decode access token/refresh token JWTs unsigned to read out the exp field, but rely on the expires_at/refresh_expires_at fields received together with the tokens instead.

@simenheg simenheg requested a review from a team April 5, 2024 08:17
Don't decode access token/refresh token JWTs unsigned to read out the
`exp` field, but rely on the `expires_at`/`refresh_expires_at` fields
received together with the tokens instead.
@simenheg simenheg merged commit 7d1b8b1 into main Apr 11, 2024
6 checks passed
@simenheg simenheg deleted the unjwt branch April 11, 2024 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants