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

Reject the request when the token is expired #76

Open
fauno opened this issue Apr 17, 2024 · 1 comment
Open

Reject the request when the token is expired #76

fauno opened this issue Apr 17, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@fauno
Copy link
Collaborator

fauno commented Apr 17, 2024

When using an expired token, the request returns a misleading 404 LEVEL NOT FOUND error, which makes you think there's an issue with the database rather than an auth error.

@fauno fauno added the enhancement New feature or request label Apr 17, 2024
@fauno
Copy link
Collaborator Author

fauno commented Apr 17, 2024

This also happens when you're trying to use a token with wrong ID, I had a token that wasn't expired but the ID was wrong and I kept getting the same errors until I realized it was faulty :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant