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

Expired token throw token expired error #27

Closed
devansvd opened this issue Feb 25, 2020 · 3 comments
Closed

Expired token throw token expired error #27

devansvd opened this issue Feb 25, 2020 · 3 comments
Labels

Comments

@devansvd
Copy link

Currently if passing a expired token it throws 401: Unauthorized. This is hard to debug sometimes, For expired token error message might be useful along the unauthorized part.

401 - Token expired, Unauthorized

@kpacha
Copy link
Member

kpacha commented Feb 25, 2020

that information can be found in the logs:

Error #01: square/go-jose/jwt: validation failed, token is expired (exp)

It's not reported to the client in order to reduce the attack surface

@kpacha kpacha closed this as completed Feb 25, 2020
@devansvd
Copy link
Author

@kpacha got it thanks

@github-actions
Copy link

github-actions bot commented Apr 7, 2022

This issue was marked as resolved a long time ago and now has been automatically locked as there has not been any recent activity after it. You can still open a new issue and reference this link.

@github-actions github-actions bot added the locked label Apr 7, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants