You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
juliusmarminge opened this issue
Aug 27, 2023
· 1 comment
Labels
adaptersChanges related to the core code concerning database adaptersdrizzle@auth/drizzle-adapterprisma@auth/prisma-adaptertriageUnseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.
Getting a type-mismatch when using @auth/prisma-adapter in next-auth.
Not sure if this should be considered a bug or not, considering there is a @next-auth/prisma-adapter package that works fine, but I don't think they are getting updated anymore?
The @auth/drizzle-adapter works fine so don't see how the prisma adapter should be any different?
How to reproduce
CleanShot.2023-08-27.at.20.37.35.mp4
Expected behavior
No type-errors when using either of the 2 adapters
The text was updated successfully, but these errors were encountered:
juliusmarminge
added
adapters
Changes related to the core code concerning database adapters
triage
Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.
labels
Aug 27, 2023
adaptersChanges related to the core code concerning database adaptersdrizzle@auth/drizzle-adapterprisma@auth/prisma-adaptertriageUnseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.
Adapter type
@auth/prisma-adapter
Environment
System:
OS: macOS 13.4.1
CPU: (8) arm64 Apple M1 Pro
Memory: 184.33 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.17.1 - ~/Library/Caches/fnm_multishells/45960_1693158926872/bin/node
npm: 9.6.7 - ~/Library/Caches/fnm_multishells/45960_1693158926872/bin/npm
pnpm: 8.6.2 - ~/Library/Caches/fnm_multishells/45960_1693158926872/bin/pnpm
Browsers:
Safari: 16.5.2
npmPackages:
@next-auth/prisma-adapter: ^1.0.7 => 1.0.7
@auth/prisma-adapter: ^1.0.1 => 1.0.1
Reproduction URL
https://github.com/juliusmarminge/auth-core-prisma-adapter-in-next-auth
Describe the issue
Getting a type-mismatch when using
@auth/prisma-adapter
innext-auth
.Not sure if this should be considered a bug or not, considering there is a
@next-auth/prisma-adapter
package that works fine, but I don't think they are getting updated anymore?The
@auth/drizzle-adapter
works fine so don't see how the prisma adapter should be any different?How to reproduce
CleanShot.2023-08-27.at.20.37.35.mp4
Expected behavior
No type-errors when using either of the 2 adapters
The text was updated successfully, but these errors were encountered: