-
Notifications
You must be signed in to change notification settings - Fork 31
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
Optimize JWT token refresh app-frontend #105
Comments
@jezpoz hei er det du i tamagotchi som jobber med denne? Siste issues for epic 1304 |
Look at Adal from Microsoft for tips on refreshing. |
I was thinking that this could be a specification with UX and technical. Since we need to know what should classify as a user begin active. And also use the time to come up with a better technological solution for this, since some of the developers did not like the implementation of this. (Not mentioning any by name, isn't that right @lorang92? 😂) |
Co-authored-by: EKEBERG Steffen <steffen.ekeberg@soprasteria.com>
Description
JWT-token refresh in app-frontend is implemented in a way that it uses "alot" of CPU resources. On a fairly new macbook it jumps from 0.3% (idle) to 3% load when moving the mouse. The increased usage of CPU could be noticeable on a "weaker" pc.
A suggested solution is that we do how netbanks handles sessions, where a little notification shows up a little while before the token expires. It should say something like "Your session is expiring soon, do you want to keep working?" and have an ok-button.
In scope
Constraints
Analysis
Conclusion
Tasks
The text was updated successfully, but these errors were encountered: