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

Separation of token parsing and validation #1198

Merged
merged 1 commit into from Mar 14, 2021

Conversation

eugene-borovov
Copy link
Contributor

Fixes #1197

Test testDetermineAccessTokenInHeaderInvalidJWT asserts only on validation error. Parse errors will be catched by test testDetermineAccessTokenInHeaderInvalidToken.

Signed-off-by: Eugene Borovov <eugene.borovov@gmail.com>
@Sephster
Copy link
Member

Thank you.

@Sephster Sephster merged commit 6fb1cb9 into thephpleague:master Mar 14, 2021
@eugene-borovov eugene-borovov deleted the improve-jwt-validation branch March 14, 2021 18:10
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.

Test invalid JWT fails with lcobucci/jwt:4.1.2
2 participants