-
Notifications
You must be signed in to change notification settings - Fork 27
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
Custom JWT error message #22
Comments
I would like to work on this issue |
Hi @nmarulo I would like to contribute for the same, this is my first contribution , i hope with proper instruction i can help you resolve this |
@Madhan-ms-21 It's all yours 👍 |
Here are few Clarifications needed from your side
|
@Madhan-ms-21 That's right. Only those two cases. |
@nmarulo All Endpoints which are accessible without bearer token , just to confirm ? |
@Madhan-ms-21 |
can you assign it to me i have exp in jwt |
He still has a few days to complete the issue. |
Can you please assign me, I would like to fix this issue. |
As stated in issue #2
It's okay that you were not able to complete it, I appreciate your effort and interest. |
@nmarulo can you please assign me this |
@Srijan25 Do you still want to do this issue? |
@Ankush-Paul-02 Do you still want to do this issue? |
Yes I want to do this |
@Ankush-Paul-02 It's all yours 👍 |
As stated in issue #2
It's okay that you were not able to complete it, I appreciate your effort and interest. |
@nmarulo could you assign me this issue? Thanks! |
@JinnJarBurger It's all yours 👍 |
alright on it! |
Important
Read issue #2 first
I want that when the token fails, it returns a customizable error message, similar to the
ControllerExceptionHandler
class where I return anErrorRes
object.Maybe this documentation gives a clue as to what needs to be done: https://docs.spring.io/spring-security/reference/servlet/oauth2/resource-server/bearer-tokens.html
To make the token fail for time, just modify the
app.jwt.expires-at
property of theapplication.properties
file.This issue is open to changes or suggestions.
The text was updated successfully, but these errors were encountered: