- User modeline googleId (unique) eklendi - google start/callback API route'lari (state korumali, find-or-create) - Login/register sayfalarina Google butonu - docker-compose'a GOOGLE_CLIENT_ID/SECRET env gecisi - tsconfig.tsbuildinfo gitignore'a eklendi
15 lines
481 B
Bash
15 lines
481 B
Bash
NEXT_PUBLIC_APP_URL=https://your-domain.com
|
|
DATABASE_URL="postgresql://USER:PASSWORD@HOST:5432/winninghunter?schema=public"
|
|
AUTH_COOKIE_NAME=wh_session
|
|
AUTH_SESSION_DAYS=30
|
|
ADMIN_EMAILS="admin@winninghunter.local"
|
|
|
|
# Google OAuth (https://console.cloud.google.com/apis/credentials)
|
|
# Authorized redirect URI: {NEXT_PUBLIC_APP_URL}/api/auth/google/callback
|
|
GOOGLE_CLIENT_ID=
|
|
GOOGLE_CLIENT_SECRET=
|
|
|
|
# For docker-compose
|
|
POSTGRES_PASSWORD="change-this-long-random-password"
|
|
PORT=3000
|