fix: remove GOOGLE_REDIRECT_URI env due to better auth set the default of that

This commit is contained in:
fathisiddiqi
2025-06-26 09:55:30 +07:00
parent 6626a8c413
commit 2f5bde1051
3 changed files with 0 additions and 3 deletions

View File

@ -87,7 +87,6 @@ Thank you for your interest in contributing to OpenCut! This document provides g
# Only needed if you want to test Google login # Only needed if you want to test Google login
GOOGLE_CLIENT_ID="your-google-client-id" GOOGLE_CLIENT_ID="your-google-client-id"
GOOGLE_CLIENT_SECRET="your-google-client-secret" GOOGLE_CLIENT_SECRET="your-google-client-secret"
GOOGLE_REDIRECT_URI="http://localhost:3000/api/auth/callback/google"
``` ```
5. Run database migrations: `bun run db:migrate` 5. Run database migrations: `bun run db:migrate`

View File

@ -10,7 +10,6 @@ BETTER_AUTH_SECRET=your-secret-key-here
#Google Clients #Google Clients
GOOGLE_CLIENT_ID= GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET= GOOGLE_CLIENT_SECRET=
GOOGLE_REDIRECT_URI=http://localhost:3000/api/auth/callback/google
# Development Environment # Development Environment
NODE_ENV=development NODE_ENV=development

View File

@ -20,7 +20,6 @@ export const auth = betterAuth({
google: { google: {
clientId: process.env.GOOGLE_CLIENT_ID as string, clientId: process.env.GOOGLE_CLIENT_ID as string,
clientSecret: process.env.GOOGLE_CLIENT_SECRET as string, clientSecret: process.env.GOOGLE_CLIENT_SECRET as string,
redirectURI: process.env.GOOGLE_REDIRECT_URI as string,
}, },
}, },
appName: "OpenCut", appName: "OpenCut",