has anyone had an issue where when logging out and...
# support-questions-legacy
a
has anyone had an issue where when logging out and redirecting to the auth page, the auth page is blank? And then only a refresh shows the auth page again?
r
Hey! Are you embedding our react component?
Do you see an console errors?
a
no im using the standard auth routes, and unfortuntaely no error logs.
r
Hmm interesting
Can we get on a quick debug call in 15 mins?
Will be easier over a call
a
interesting
sooo
found an odd edge case
when using navigate('auth') from the useNavigate of react-router-dom....it shows a blank page....but when i directly use
redirectToAuth
from supertokens, that works compltely fine.
r
Oh! What is it?
a
oh as in that navigate didn't seem to work, but redirectToAuth worked just fine.
not sure why though
r
So if you used redirectToAuth, it worked fine?
a
yep exactly
r
But manually redirection didn’t work?
a
yeah super odd
but i'll debug more tomorrow, gonna hit the sack in a moment.
r
Hmmm. And when you use redirectToAuth, does that do a full page reload?
a
it does do a full page reload
r
hmm i see. Are you using react-router-dom? Seems like if that's used for navigation, our react components don't render.. which shouldn't happen. Maybe share code of your app's render function that uses the router, and how you are using supertokens within the router component