Skip to content
This repository has been archived by the owner on Feb 23, 2025. It is now read-only.

feat: auto session refresh #460

Closed
wants to merge 2 commits into from
Closed

Conversation

hi-ogawa
Copy link
Owner

@hi-ogawa hi-ogawa commented Jul 8, 2023

Maybe also it's time to eliminate root loader's currentUser.
It would be more convenient if it's managed under react-query so that invalidation is simpler.

@hi-ogawa hi-ogawa force-pushed the feat-session-auto-refresh branch from 3c75448 to 006d74f Compare July 8, 2023 06:54
@hi-ogawa
Copy link
Owner Author

Not sure if it's "right" to allow refresh whatever valid token.
So, probably I'll go with the approach of detecting expiration on client and prompt relogin.

@hi-ogawa hi-ogawa closed this Aug 26, 2023
@hi-ogawa hi-ogawa deleted the feat-session-auto-refresh branch August 26, 2023 02:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: auto session refresh?
1 participant