Sveltekit error Error: Cannot use relative URL (/api/auth/get-session)
I think this is related to some update to sveltekit
3 Replies
Sorry for some context this used to work fine. its just a simple
const session = await authClient.getSession();
actually nvm i downgraded both sk and better-auth and i still get thisDid you manage to find a solution for this @Silvan ?
I'm encountering the exact same issue
not a good one yet no the issue is useSession breaks on ssr i just read from page.data atm