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

invalid verified claim (option) should throw 401 instead of 403 #2409

Closed
krunaljhaveri opened this issue Apr 18, 2017 · 1 comment · Fixed by #2433
Closed

invalid verified claim (option) should throw 401 instead of 403 #2409

krunaljhaveri opened this issue Apr 18, 2017 · 1 comment · Fixed by #2433

Comments

@krunaljhaveri
Copy link

When we enable JWT plugin and optional verified claims to check expiry of JWT token, Kong throws 403 error with message token expired. This should be 401 error.

Follow: https://getkong.org/plugins/jwt/

  • Optional verified claims.
@Tieske Tieske changed the title invalid verified claim (option) should through 401 instead of 403 invalid verified claim (option) should throw 401 instead of 403 Apr 21, 2017
Tieske added a commit that referenced this issue Apr 21, 2017
On invalid claims the JWT plugin returned `403 forbidden` instead
of the `401 unauthorized`.

fixes #2409
Tieske added a commit that referenced this issue Apr 21, 2017
On invalid claims the JWT plugin returned `403 forbidden` instead
of the `401 unauthorized`.

fixes #2409
@saamalik
Copy link

Looks like this got resolved!

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 a pull request may close this issue.

2 participants