mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-09 20:27:44 +00:00
* chore: wip * wip * feat: mcp plugin * wip * chore: fix lock file * clean up * schema * docs * chore: lint * chore: release v1.2.9-beta.1 * blog * chore: lint
SvelteKit Better Auth Example
This is an example of how to use Better Auth with SvelteKit.
Implements the following features: Email & Password . Social Sign-in with Google . Passkeys . Email Verification . Password Reset . Two Factor Authentication . Profile Update . Session Management
How to run
- Clone the code sandbox (or the repo) and open it in your code editor
- Move .env.example to .env and provide necessary variables
- Run the following commands
pnpm install pnpm dev - Open the browser and navigate to
http://localhost:3000