WS-6: Google-Redirect-URI auf Live-Domain pressekonto.com korrigiert
Live-Portal-Domain ist pressekonto.com (nicht .de) – Callback-URL in .env.example und Deployment-Doku entsprechend gesetzt. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
fe10adb657
commit
2a622044f3
2 changed files with 3 additions and 3 deletions
|
|
@ -66,9 +66,9 @@ VITE_APP_NAME="${APP_NAME}"
|
|||
|
||||
# Google-Login (Laravel Socialite). Die Redirect-URI muss in der Google Cloud
|
||||
# Console EXAKT der Callback-URL der Portal-Domain entsprechen (Login läuft auf
|
||||
# dem Portal-Host, nicht zwingend APP_URL). Prod: https://pressekonto.de/...
|
||||
# dem Portal-Host, nicht zwingend APP_URL). Prod: https://pressekonto.com/...
|
||||
# Hinweis: Google akzeptiert keine .test-Domains – lokal nur localhost oder ein
|
||||
# https-Tunnel; der echte Round-Trip wird auf Staging/Live getestet.
|
||||
GOOGLE_CLIENT_ID=
|
||||
GOOGLE_CLIENT_SECRET=
|
||||
GOOGLE_REDIRECT_URI=https://pressekonto.de/auth/google/callback
|
||||
GOOGLE_REDIRECT_URI=https://pressekonto.com/auth/google/callback
|
||||
|
|
|
|||
|
|
@ -118,7 +118,7 @@ Aus einer gezielten Auth-Prüfung umgesetzt:
|
|||
**Deployment-Voraussetzungen:**
|
||||
- `composer install` (neue Abhängigkeit `laravel/socialite`).
|
||||
- Migration `add_oauth_provider_columns_to_users` (siehe unten).
|
||||
- ENV: `GOOGLE_CLIENT_ID`, `GOOGLE_CLIENT_SECRET`, `GOOGLE_REDIRECT_URI`. Die Redirect-URI muss in der Google Cloud Console **exakt** der Callback-URL der **Portal-Domain** entsprechen – Prod: `https://pressekonto.de/auth/google/callback` (nicht `.com`; der Login läuft auf dem Portal-Host, nicht zwingend `APP_URL`).
|
||||
- ENV: `GOOGLE_CLIENT_ID`, `GOOGLE_CLIENT_SECRET`, `GOOGLE_REDIRECT_URI`. Die Redirect-URI muss in der Google Cloud Console **exakt** der Callback-URL der **Portal-Domain** entsprechen – Prod: `https://pressekonto.com/auth/google/callback` (der Login läuft auf dem Portal-Host, nicht zwingend `APP_URL`).
|
||||
- **Lokales Testen:** Google akzeptiert keine `.test`-Domains als Redirect-URI (nur `localhost`/`127.0.0.1` oder echte https-Domains). Der echte Google-Round-Trip wird daher auf **Staging/Live** mit der echten https-Domain getestet; lokal ist die Login-Logik über `tests/Feature/Auth/GoogleLoginTest.php` (gemockter Socialite-Provider) abgesichert. Wer lokal end-to-end testen will: gesamten Flow auf `http://localhost` legen (Portal-Host temporär auf localhost) oder einen https-Tunnel als Portal-Host verwenden – sonst bricht die host-gebundene Session beim Wechsel `.test`→`localhost`.
|
||||
|
||||
## 7. Deployment-Reihenfolge (Migrationen dieser Phase)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue