-
Notifications
You must be signed in to change notification settings - Fork 126
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
Cryptic error messages if validation failed #297
Comments
@aschekatihin it's very difficult for us to debug this error without more detail. |
@aschekatihin sorry, I don't follow. Are you submitting a valid JWT (token) but with invalid/incorrect |
@nelsonic , either valid JWT and invalid |
Invalid |
One of the past issues still valid: #227
There is no way to understand what's wrong with your setup except trial and error or debugging node_modules. If something is wrong all you get is
invalid token
and that's it.It seems like verify_err could be passed to errorContext and handled at errorFunc to log real problem to server log while returning generic error for users.
The text was updated successfully, but these errors were encountered: