From 8bcd226bdb4eb3468df0590dbe6d3d8d68b2acbd Mon Sep 17 00:00:00 2001 From: Deepanshu Mishra Date: Mon, 23 Jun 2025 22:51:34 +0530 Subject: Added google auth and some auth page ui optimisations --- apps/web/src/lib/auth.ts | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'apps/web/src/lib/auth.ts') diff --git a/apps/web/src/lib/auth.ts b/apps/web/src/lib/auth.ts index 4cfaa6f2..d0175c97 100644 --- a/apps/web/src/lib/auth.ts +++ b/apps/web/src/lib/auth.ts @@ -16,6 +16,12 @@ export const auth = betterAuth({ emailAndPassword: { enabled: true, }, + socialProviders: { + google: { + clientId: process.env.GOOGLE_CLIENT_ID as string, + clientSecret: process.env.GOOGLE_CLIENT_SECRET as string, + }, + }, appName: "OpenCut", trustedOrigins: ["http://localhost:3000"], }); -- cgit v1.3.1