rvote-online/prisma
Jeff Emmett a9866f4a32 feat: migrate from NextAuth to pure EncryptID auth
Replace the NextAuth Credentials provider wrapper with direct EncryptID
SDK integration. The auth() function now reads the encryptid_token cookie
directly, keeping the same interface so all API routes and server
components work unchanged.

- Replace SessionProvider with EncryptIDProvider
- Add /api/auth/session endpoint for cookie management
- Update signin/signup pages to use SDK login/register + cookie sync
- Update Navbar to use useEncryptID() hook
- Remove next-auth, @auth/prisma-adapter, bcryptjs dependencies
- Drop Account, Session, VerificationToken Prisma models + DB tables
- Remove legacy email/password register route

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 11:04:55 +00:00
..
migrations feat: add Prisma migration for EncryptID did column on User 2026-02-13 07:45:33 -07:00
schema.prisma feat: migrate from NextAuth to pure EncryptID auth 2026-02-18 11:04:55 +00:00
seed-spaces.ts Fix seed script: use visibility field instead of removed isPublic 2026-02-14 19:32:29 -07:00