diff options
| author | Maze Winther <mazewinther@gmail.com> | 2025-06-24 01:49:12 +0200 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2025-06-24 01:49:12 +0200 |
| commit | 5bff26d3e51d775bb44b6c9fa1337570642d284d (patch) | |
| tree | d82908098f4f1438fbd578b063c97ace94460694 /apps/web/src/lib/auth.ts | |
| parent | 69566ffa83b9f192397073f37de0d9a8a9437fef (diff) | |
| parent | a6a520db70ef639e066d1012fa2ecf7e26c53049 (diff) | |
| download | opencut-5bff26d3e51d775bb44b6c9fa1337570642d284d.tar.gz | |
Merge branch 'main' of https://github.com/mazeincoding/AppCut
Diffstat (limited to 'apps/web/src/lib/auth.ts')
| -rw-r--r-- | apps/web/src/lib/auth.ts | 6 |
1 files changed, 6 insertions, 0 deletions
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"],
});
|
