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

Log user out when receiving a 401 #8545

Open
2 tasks
tumbledwyer opened this issue Jan 31, 2025 · 0 comments
Open
2 tasks

Log user out when receiving a 401 #8545

tumbledwyer opened this issue Jan 31, 2025 · 0 comments

Comments

@tumbledwyer
Copy link
Collaborator

🚀 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants