You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When a 401 - Auth API error occurs, the authentication token remains in local storage, and no error message is displayed to the user.
To Reproduce
Trigger a 401 - Auth API error (e.g., by accessing a restricted page without valid or expired credentials).
Observe that no error message is shown, and the authentication token remains in local storage.
Expected behavior
Upon receiving a 401 - Auth API error, the authentication token should be cleared from local storage (so that we can flow to the login page), and an appropriate error message should be displayed to the user.
Additional context
Implement proper error handling to clear auth data from local storage and notify the user about the authentication issue with the same design guidelines.
The text was updated successfully, but these errors were encountered:
Describe the bug
When a 401 - Auth API error occurs, the authentication token remains in local storage, and no error message is displayed to the user.
To Reproduce
Expected behavior
Upon receiving a 401 - Auth API error, the authentication token should be cleared from local storage (so that we can flow to the login page), and an appropriate error message should be displayed to the user.
Additional context
Implement proper error handling to clear auth data from local storage and notify the user about the authentication issue with the same design guidelines.
The text was updated successfully, but these errors were encountered: