-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
Description
Currently, if a user tries to use an endpoint with an expired token, the API always returns 401 even if the data would be available without a token.
While this is sensible given the assumption that the user really meant to use the token, it is problematic from the UI point of view, since all users with expired tokens will suddenly encounter API errors on all public pages, and they have no idea what is going on.
As long as we don't have silent autorenewal of the JWT token, the API should perhaps return the same response as to a request without a token, if the token is invalid?
Reactions are currently unavailable