Still can redirect to public route even when logged in #4332
Unanswered
huy1999dnnk
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am developing an app with tanstack and jwt (access, refresh token). I am following this example.
Step:
Here is my code
_auth.tsx (layout for login page)
_auth.tsx (layout for protected page)
and the auth context
To add more context, i am using axios interceptor to get the new jwt token when old access token is expired. I am using tanstack router version 1.114.3. I would be very grateful if someone could help me resolve this issue.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions