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

fix(node-ui): expired client key #939

Merged
merged 2 commits into from
Nov 5, 2024
Merged

Conversation

frdomovic
Copy link
Member

fix(node-ui): expired client key

Summary

Axios interceptor for all calls that checks if user is authorized (if no returns 401). If status is 401 it redirects user to setup page to setup again node url + login.

This can be recreated by init + setup node + run admin dashboard login. Then delete node data and recreate the steps.

The page will have in local storage items that tell the page thats its authorized but requests are not authorized as storage client key does not match the server one.

Test plan

Screen.Recording.2024-11-05.at.11.17.18.mov

@frdomovic frdomovic merged commit cd3a318 into master Nov 5, 2024
6 checks passed
@frdomovic frdomovic deleted the fix-client-key-expired branch November 5, 2024 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants