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

JWT error handling #2

Open
satishpatro44 opened this issue Oct 21, 2021 · 1 comment
Open

JWT error handling #2

satishpatro44 opened this issue Oct 21, 2021 · 1 comment

Comments

@satishpatro44
Copy link

Scenario: when JWT token expired, and I am trying to access an API using the expired token, it's not handling properly, it's giving "ExpiredJwtException" exception in console, but in API response it's giving 500 internal server error with response
{ "timestamp": "2021-10-21T10:49:15.462+00:00", "path": "/auth/test", "status": 500, "error": "Internal Server Error", "requestId": "6469003d-1" }

Can you confirm if it is handled properly in your project or am I missing anything?
I have referred your project for most of the files & I didn't clone. So, confirming.

@kir-ostapchuk
Copy link

Hi! Have you had a chance to resolve this issue?

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

No branches or pull requests

2 participants