Replies: 5 comments 6 replies
-
I realize that |
Beta Was this translation helpful? Give feedback.
-
It turns out you have to use the modules |
Beta Was this translation helpful? Give feedback.
-
When switching to |
Beta Was this translation helpful? Give feedback.
-
Maybe it is a bug introduced since |
Beta Was this translation helpful? Give feedback.
-
On Nextjs 14, I can't get the JWT additional fields addition via the callback to work. The session object returned by |
Beta Was this translation helpful? Give feedback.
-
Summary
I'm adding a role from the Google provider
profile
, through thejwt
andsession
callbacksI managed to extend the
User
andSession
interfaces, but can't seem to extend theJWT
.token.role
is sadlyunknown
Thanks in advance for your kind help! ♥
Additional information
next-auth: 5.0.0-beta.2
next: 13.5.6
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions