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

[task] validate token and handle 401 redirect. #32

Open
leoGalani opened this issue Jan 2, 2021 · 0 comments
Open

[task] validate token and handle 401 redirect. #32

leoGalani opened this issue Jan 2, 2021 · 0 comments
Assignees
Milestone

Comments

@leoGalani
Copy link
Contributor

if the localstorage hash for some reason is in the wrong format, we need to check and clean it and redirect the user to the login page

code to be fixed: https://github.com/AgileTesters/sherlock_test_manager/blob/main/sherlock_frontend/src/main.js#L16-L23

for 401 redirects to the login page, use https://github.com/axios/axios#interceptors

@leoGalani leoGalani added this to the alpha milestone Jan 2, 2021
@leoGalani leoGalani added this to To Do in Initial Release via automation Jan 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants