diff --git a/lib/auth.ts b/lib/auth.ts index 54e3930..615ebbf 100644 --- a/lib/auth.ts +++ b/lib/auth.ts @@ -2,5 +2,10 @@ import { betterAuth } from "better-auth"; export const auth = betterAuth({ secret: process.env.BETTER_AUTH_SECRET, - url: process.env.BETTER_AUTH_URL + url: process.env.BETTER_AUTH_URL, + trustedOrigins: [ + "https://app.lemonspace.io", + "http://localhost:3000", + ], }); +