guardicore / guardicore/monkey
Fix logoff on token expiration
Open
Bug
UI:refactoring
- Dominant language
- Python
- Stars
- 7.1k
- Forks
- 830
- PR merge metrics
- No merged PRs in 30d
Description
## Describe the bug
When the token expires it responds with 401 to any request. Frontend sometimes can't handle the unexpected 401 response and crashes instead of redirecting to the login page.
## To Reproduce
Steps to reproduce the behavior:
1. Go to available plugins page
2. Delete token
3. Refresh the page
## Expected behavior
On 401 we should redirect to the login page before the front end tries to parse the response.
Contributor guide
Assessment
This issue has not been assessed yet.