Extending the Session not working (Credentials Providers) #11557
Unanswered
nicolas-atls
asked this question in
Help
Replies: 1 comment
-
any idea please why email and name are ok but no uid ?
|
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.
-
Hello, i cannot add any extra information to my user session... any idea what's wrong ?
I use the latest version of auth.js: "next-auth": "5.0.0-beta.20",
Here is my code, and authorise is well triggered when i call the signIn function
Inside the callbacks and in session() and jwt() user is undefined... i cannot add it to the session, as you can see on the code below i would like to add the properties "uid"
I also create the next-auth.d.ts file in the types directory at the root of the project
Beta Was this translation helpful? Give feedback.
All reactions