-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
Description
Which project does this relate to?
Start
Describe the bug
Based upon the WorkOS sample, there is a bug where updateSession is never called, hence when the initial token time expires, it's never refreshed with a refresh token.
Your Example Website or App
https://github.com/tanstack/router/tree/main/examples/react/start-workos
Steps to Reproduce the Bug or Issue
updateSession call in the session.ts never called.
Expected behavior
When checking for auth, it should check for valid session and refresh.
@nicknisi as maker of the sample can you elaborate how this should work with refreshing the tokens?