From acfe62eb37cb82e875bb93d3bcce934813d0b414 Mon Sep 17 00:00:00 2001 From: Max Koon <22125083+k2on@users.noreply.github.com> Date: Mon, 20 Oct 2025 16:53:01 -0400 Subject: [PATCH] fix: cookie stuff --- api/src/auth.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/api/src/auth.ts b/api/src/auth.ts index dab098b..ea14337 100644 --- a/api/src/auth.ts +++ b/api/src/auth.ts @@ -12,6 +12,12 @@ export const auth = betterAuth({ usePlural: true, }), trustedOrigins: ["money://", "http://localhost:8081", "https://money.koon.us"], + advanced: { + crossSubDomainCookies: { + enabled: true, + domain: "koon.us", + }, + }, plugins: [ expo(), genericOAuth({