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

TokenVerifier::verify throws a \RuntimeException instead of an InvalidTokenException #438

Closed
B-Galati opened this issue Jun 17, 2020 · 1 comment · Fixed by #439
Closed

Comments

@B-Galati
Copy link
Contributor

Hello !

Description

Providing an invalid JSON body to the token result in \RuntimeException instead of InvalidTokenException. For example:

image

Environment

  • Version of this library used: 7.20
  • Other modules/plugins/libraries that might be involved: lcobucci/jwt:3.3.2
B-Galati added a commit to B-Galati/auth0-PHP that referenced this issue Jun 17, 2020
jimmyjames added a commit that referenced this issue Aug 6, 2020
Throw InvalidTokenException instead of RuntimeException when parsing malformed token (fix #438)
@github-actions
Copy link
Contributor

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants