next-auth property 'user' does not exist on type '({ session: Session; user: AdapterUser; }
I'm totally lost, keep getting error above when trying to pass user in the parameters for session in callbacks
Solution:Jump to solution
Seems to be a problem with 5.0.0-beta.5, downgraded to 5.0.0-beta.4 and it works as intended. Not sure if there's currently a fix for beta.5, but will keep looking.
1 Reply
Solution
Seems to be a problem with 5.0.0-beta.5, downgraded to 5.0.0-beta.4 and it works as intended. Not sure if there's currently a fix for beta.5, but will keep looking.