The example repository is maintained from a monorepo. Pull Requests should be opened against
nextauthjs/next-auth.
Open Source. Full Stack. Own Your Data.
This is the official SolidStart Auth example for Auth.js.
You can follow the guide below, or click the following button to deploy this example to Vercel.
pnpm add -D solid-start-vercelnpm i -D solid-start-vercelyarn add -D solid-start-vercelimportsolidfrom"solid-start/vite"importdotenvfrom"dotenv"import{defineConfig}from"vite"// @ts-expect-error no typingimportvercelfrom"solid-start-vercel"exportdefaultdefineConfig(()=>{dotenv.config()return{plugins: [solid({ssr: true,adapter: vercel({edge: false})})],}})ENABLE_VC_BUILD=1.
Create a GitHub repo and push the code to it, then deploy it to Vercel.
