This repo serves as a personal demo for Pocketbase and SvelteKit using OAuth2 with any supported provider.
Designed to be as plug and play as possible. All you need to do is add the provider in the admin dashboard and you're ready to go! No further customization is necessary.
./pocketbase serve
http://localhost:5173/login
Create a .env
file in the root directory of the repo and populate it with the following:
PUBLIC_REDIRECT_URI="http://localhost:5173/login" # default
PUBLIC_PB_URL="http://127.0.0.1:8090" # default
Once you've installed dependencies with pnpm install
, start a development server:
pnpm dev