How would I integrate NextAuth's PostgreSQL database adapter within the following route handler to persist user data? #12254
Unanswered
freewillyjenkins
asked this question in
Help
Replies: 0 comments
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.
-
I tried adding the adapter option to the NextAuth function like so:
But I get the following type error:
Packages:
"@neondatabase/serverless": "^0.10.1"
"@auth/pg-adapter": "^1.7.2"
"next-auth": "^4.24.10"
Beta Was this translation helpful? Give feedback.
All reactions