aali
BABetter Auth
•Created by aali on 5/20/2025 in #help
Better Auth (auth.api.getSession) causes problem in edge runtime
Hi! Thanks for the response, when I comment out:
const session = await auth.api.getSession({
headers: await headers(),
});
The problem goes away. (but obviously no session or cookies are saved ).
6 replies