Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

🐛 Add trusted origins to better auth config

Luke Vella38dbfbaebb20
diff --git a/apps/web/src/lib/auth.ts b/apps/web/src/lib/auth.ts
index 34cf8939f..a357fbc5d 100644
--- a/apps/web/src/lib/auth.ts
+++ b/apps/web/src/lib/auth.ts
@@ -342,6 +342,7 @@ export const authLib = betterAuth({
maxAge: 5 * 60, // 5 minutes
},
},
+ trustedOrigins: [absoluteUrl()],
baseURL,
});