Verbessere OAuth-Konfiguration mit explicit Redirect-URIs
- Konfiguriere Redirect-URI für GitHub OAuth explizit - Füge NEXT_PUBLIC_FRONTEND_URL für konsistente OAuth-Callbacks hinzu - Verwende hostname in Redirect-URIs für bessere Kompatibilität - Aktualisiere Scripts, um Frontend-URL in Umgebungsvariablen zu setzen - Füge bessere Fehlerdiagnose für OAuth-Prozess hinzu 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -39,6 +39,9 @@ cat > "$ENV_FILE" << EOL
|
||||
# Backend API Konfiguration
|
||||
NEXT_PUBLIC_API_URL=${BACKEND_URL}
|
||||
|
||||
# Frontend-URL für OAuth Callback
|
||||
NEXT_PUBLIC_FRONTEND_URL=http://$(hostname):3000
|
||||
|
||||
# OAuth Konfiguration (falls nötig)
|
||||
OAUTH_CLIENT_ID=client_id
|
||||
OAUTH_CLIENT_SECRET=client_secret
|
||||
|
Reference in New Issue
Block a user