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

[BUG] Return 401 instead of 500 when jwt is expired #1514

Open
arsforza opened this issue Jul 18, 2024 · 1 comment
Open

[BUG] Return 401 instead of 500 when jwt is expired #1514

arsforza opened this issue Jul 18, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@arsforza
Copy link
Contributor

Who notified us about the bug?

@jannisvisser

Describe the bug

When jwt is expired, we get a 500 error when resetting/mocking

Expected behavior

A 401 error should be returned

Additional context

@jannisvisser: Solve this the next time it's encountered, so that I can get the specific error message then.

@arsforza arsforza added the bug Something isn't working label Jul 18, 2024
@arsforza
Copy link
Contributor Author

Not a production bug, but useful to fix for devs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant