A demo of using authjs with sveltekit and cloudflare pages
This repository is a demo for building an AuthJS.dev authenticated site with SvelteKit and deployment on Cloudflare Pages using a D1(Alpha) database adapter for the authjs.dev user and session store. It demonstrates this using a GitHub OAuth application as the authentication provider.
.dev.vars.example file to .dev.vars..dev.vars file. This file is in .gitignore.AUTH_SECRET.npm installnpm run buildnpm run wranglenpx vite build -w to have vite auto build when it sees source changes.npm run wrangle.This repository provides a demo of building an AuthJS.dev authenticated site with SvelteKit and deploying it on Cloudflare Pages using a D1(Alpha) database adapter for the AuthJS.dev user and session store. It includes integration with GitHub OAuth for authentication. The installation guide provides step-by-step instructions on setting up the project for local development and testing.