SvelteKit + Auth.js + Prisma

This repo is a template on how you can integrate OAuth in SvelteKit using Auth.js (NextAuth) and persist the user data in a database using Prisma Adapter.

Getting Started

clone the repo

git clone https://github.com/PrabhuKiran8790/sveltekit-authjs-prisma-template.git

Install the dependencies

cd sveltekit-authjs-prisma-template && pnpm i

Change the .env file

DATABASE_URL=
GOOGLE_ID=
GOOGLE_SECRET=
GITHUB_ID=
GITHUB_SECRET=
AUTH_SECRET=
NEXTAUTH_SECRET=

Top categories

svelte logo

Need a Svelte website built?

Hire a professional Svelte developer today.
Loading Svelte Themes