Replies: 2 comments 1 reply
-
I'm having the same problem. In v3 session just turned up in my index page after authenticating. Now it doesn't. I'm trying to do everything client side. There has to be some standard way of loading session if it exists on page load, but I've been struggling with it all day. If I find the solution I'll put my answer here. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Beta Was this translation helpful? Give feedback.
0 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Question 💬
I have just finished upgrading my project the NextAuth 4 beta 2 but now navbar keeps returning the error that "session.user" is undefined. I have a feeling it's the old wrappers I used. If it is how do I use the knew wrappers only around a certain section of my navbar and not my whole component?
I only want to wrap this part because it is where the user is displayed if they are logged in or not
How to reproduce ☕️
I am not sure what I can provide here
Contributing 🙌🏽
Yes, I am willing to help answer this question in a PR
Beta Was this translation helpful? Give feedback.
All reactions