As of 2024-07-09, SolidStart is at v1.0.2. It has presets for a project with Prisma, and another preset for a project with AuthJS. These are available through running: npm init solid@latest
. There is a third option of simply auth
, but it's a very rudimentary custom auth without oauth 2.0.
I am trying to init the Prisma project, and porting in what's needed to make the AuthJS project work.
The main thing needed seems to be an adapter, namely "PrismaAdapter" or "@/prisma-adapter". There are two such popular packages:
-
@next-auth/prisma-adapter: https://www.npmjs.com/package/@next-auth/prisma-adapter
-
@auth/prisma-adapter: https://www.npmjs.com/package/@auth/prisma-adapter