Replies: 2 comments
-
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks, I don't know how I fixed it, but after few hours of investigation, I just did this to retrieve the session's info:
I will close the ticket! |
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
-
Hi there,
I would need your support. After a moment working on NextAuth, I do not understand what I am doing wrong.
My goal is to display some user's data once he is logged in, within the /dashboard page.
Login page and SignIn are working great so far.
Theoritical steps:
Login page > Connect > Autorize him > Redirect him to the /dashboard page > Show "Hi {username}!"
However, the last steps does not work.
auth.config.ts
page.tsx (Dashboard page)
The terminal tells:
Nor useSession(), getSession() are working.... same error.
Would anyone have any idea how to fix this?
Thank you for your help!
Beta Was this translation helpful? Give feedback.
All reactions