Better Auth + Bun + TanStack Start + Drizzle + SQLite
Authenticated workspace with linked sign-in methods
Use Google or GitHub to sign in, persist sessions in SQLite, and link both providers onto the same account when you need more than one sign-in path.
Sign in to open your workspace
The authentication flow lives in a shadcn modal. Google and GitHub appear when their OAuth credentials are configured. The first eligible social login can also claim admin when no admin exists yet.
G
Google
Add OAuth env vars to enable
GitHub
Enabled for sign-in
What’s included
Google and GitHub social login.
Explicit account linking for multi-provider access.
RBAC with admin claiming and `.env` admin fallback.
Room to add passkeys, 2FA, and organizations later.