docs: Add OAuth config to env.example
Some checks failed
CI / Frontend Lint & Type Check (push) Has been cancelled
CI / Frontend Build (push) Has been cancelled
CI / Backend Lint (push) Has been cancelled
CI / Backend Tests (push) Has been cancelled
CI / Docker Build (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
Deploy / Build & Push Images (push) Has been cancelled
Deploy / Deploy to Server (push) Has been cancelled
Deploy / Notify (push) Has been cancelled
Some checks failed
CI / Frontend Lint & Type Check (push) Has been cancelled
CI / Frontend Build (push) Has been cancelled
CI / Backend Lint (push) Has been cancelled
CI / Backend Tests (push) Has been cancelled
CI / Docker Build (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
Deploy / Build & Push Images (push) Has been cancelled
Deploy / Deploy to Server (push) Has been cancelled
Deploy / Notify (push) Has been cancelled
This commit is contained in:
@ -94,6 +94,19 @@ DEBUG=true
|
|||||||
# Site URL (for email links, password reset, etc.)
|
# Site URL (for email links, password reset, etc.)
|
||||||
SITE_URL=http://localhost:3000
|
SITE_URL=http://localhost:3000
|
||||||
|
|
||||||
|
# =================================
|
||||||
|
# OAuth (Optional)
|
||||||
|
# =================================
|
||||||
|
# Google OAuth (https://console.cloud.google.com/apis/credentials)
|
||||||
|
GOOGLE_CLIENT_ID=your-google-client-id
|
||||||
|
GOOGLE_CLIENT_SECRET=your-google-client-secret
|
||||||
|
GOOGLE_REDIRECT_URI=https://yourdomain.com/api/v1/oauth/google/callback
|
||||||
|
|
||||||
|
# GitHub OAuth (https://github.com/settings/developers)
|
||||||
|
GITHUB_CLIENT_ID=your-github-client-id
|
||||||
|
GITHUB_CLIENT_SECRET=your-github-client-secret
|
||||||
|
GITHUB_REDIRECT_URI=https://yourdomain.com/api/v1/oauth/github/callback
|
||||||
|
|
||||||
# =================================
|
# =================================
|
||||||
# Rate Limiting
|
# Rate Limiting
|
||||||
# =================================
|
# =================================
|
||||||
|
|||||||
Reference in New Issue
Block a user