Replies: 1 comment 4 replies
-
Could you provide an example app or code?
|
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have an issue with using withAuthUserSSR when redirecting from a link. Lets's say I have a link to my app - http://localhost:3000/redirect. I have a standard withAuthUserSSR page, but when I visit the page from URL link (not directly from my app with Next router), it returns AuthUser properties as null (email, null...), looks like the auth hasn't been initialized. But when I go to the page from location in my app with Next router, it returns AuthUser as it should (auth is initialized already). I wonder if there is any way to achieve that with a redirect.
Beta Was this translation helpful? Give feedback.
All reactions