Needed for sensitive auth routes such as payments, deletion of items etc.
Nest these components within the restricted routes and implement time-to-expire checking on the auth token.
Story:
As a user, I need to refresh my log in token in order to make sensitive requests such as payments and deletion of items so that I know my requests are secure and that someone else cannot act on my behalf because I didn't log out before closing the app or browser.
Needed for sensitive auth routes such as payments, deletion of items etc. Nest these components within the restricted routes and implement time-to-expire checking on the auth token. Story: As a user, I need to refresh my log in token in order to make sensitive requests such as payments and deletion of items so that I know my requests are secure and that someone else cannot act on my behalf because I didn't log out before closing the app or browser.