NextAuth Convex Adapter
I'd like to do this, no target date right now. Something you'd find helpful sounds like?
5 Replies
It's part of my normal full stack set up with prisma/mysql. If I understand the "It's not you, it's SQL" blog correct, the long term vision would be replacing the DB in my stack with convex instead of shipping prisma/mysql for DB + convex for server-side code exec. In that case, a next-auth / auth.js adapter would help a lot in offboarding from SQL.
Cool, yeah makes perfect sense.
I just looked at the prisma adapter and it's more or less just one file that maps the next-auth createUser, getUser, getUserByEmail, etc... functions onto prisma statements... So I might be able to just try that mapping mysellf eventually
Let us know if you do, would love to help get it into https://github.com/nextauthjs/next-auth/tree/main/packages
probably gonna play around a little first to see how I like working with it 😉