Author:
Hello there. Ill cut right to the chase,I spent a better part of 2 weeks trying to get better auth to work on sveltekit. \ As such i would like to share that this setup is per the better-auth version below (For transparency):
At this point (June 18th 2025) in time the api for sign up and sign in by better auth is a broken for lack of a better word causing the session token to not be set.
We will be making use of the client methods provided with the method of choice for signing up being email and password
Function list:
Everything you need to build a Svelte project, powered by sv
.
Once you've cloned the project run npm install
or bun install
to install dependencies
npm run dev
npm run dev -- --open
To create a production version of your app:
npm run build
You can preview the production build with npm run preview
.