Skip to content

Log user out when receiving a 401 #8545

@tumbledwyer

Description

@tumbledwyer

🚀 Requirements

As a user
I want to be logged out if any calls to OpenCRVS return a 401

Whenever an API call to open CRVS returns a 401, the token is no longer valid.
The existing logout functionality should remove the token.
Show a pop up to inform the user and allow then to login again.

Tech tasks

  • Add a 401 check to openCRVS API calls and log the user out
  • Create a pop up to allow the user to log back

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions