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

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
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 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.

feat: auto session refresh?
1 participant