Henry
Henry
BABetter Auth
Created by Omicrxn on 4/17/2025 in #help
Unclear on how to handle session and cookies in sveltekit
Well i just lost a day and a half on this! 😩 My hero!
9 replies
BABetter Auth
Created by ZenArtemis on 4/22/2025 in #help
create user with signUpEmail
To get an actual response (not just data) you need to include asResponse: true :
const response = await auth.api.signInEmail({
body: {
email: "",
password: ""
},
asResponse: true
})
const response = await auth.api.signInEmail({
body: {
email: "",
password: ""
},
asResponse: true
})
This may give you more information as to the issue.
4 replies
BABetter Auth
Created by realguse on 4/17/2025 in #help
Error when generating SvelteKit tables
can you import the variables directly with dynamic i.e: import {TURSO_DATABASE_URL} from "$env/dynamic/private";? Then url: TURSO_DATABASE_URL. This works for me, but I am using $env/static/private, not sure if thats different.
7 replies