Skip to content

Latest commit

 

History

History

github-oauth

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

GitHub OAuth example in SvelteKit

Uses SQLite (in-memory) database.

pnpm i
pnpm dev

Setup

Create a GitHub OAuth app with the callback set to https://localhost:5173/login/github/callback and create an .env file.

GITHUB_CLIENT_ID=""
GITHUB_CLIENT_SECRET=""