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 require the nbf claim #15197

Merged
merged 1 commit into from
Jan 12, 2024
Merged

Don't require the nbf claim #15197

merged 1 commit into from
Jan 12, 2024

Conversation

di
Copy link
Member

@di di commented Jan 12, 2024

Some IdPs won't include the nbf claim because it's not in the OIDC spec. Instead of requiring it, we verify it only when present (ref https://github.com/jpadilla/pyjwt/blob/f86b8b6ce670e40f1ef037b70ac6b4c682e8ac6f/jwt/api_jwt.py#L244-L245)

Resolves the issue raised in #13551 (comment).

@di di requested a review from a team as a code owner January 12, 2024 00:01
@di di requested review from woodruffw and a team and removed request for a team January 12, 2024 00:01
@di di merged commit c391c43 into pypi:main Jan 12, 2024
17 checks passed
@di di deleted the dont-require-nbf-claim branch January 12, 2024 01:29
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.

3 participants