-
Notifications
You must be signed in to change notification settings - Fork 52
JWT error handling #2
Copy link
Copy link
Open
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels