WS-6: Google-Redirect-URI klargestellt (Portal-Domain, .de) + lokaler Testhinweis

- .env.example: GOOGLE_REDIRECT_URI explizit auf die Portal-Callback-URL statt
  ${APP_URL}; Hinweis, dass Google keine .test-Domains akzeptiert.
- Deployment-Doku (§6c): exakte Prod-Callback-URL (pressekonto.de, nicht .com),
  lokaler Round-Trip via localhost/https-Tunnel, sonst über gemockte Tests.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Kevin Adametz 2026-06-16 13:29:29 +00:00
parent 6c6b9e0f26
commit fe10adb657
2 changed files with 8 additions and 4 deletions

View file

@ -64,8 +64,11 @@ AWS_USE_PATH_STYLE_ENDPOINT=false
VITE_APP_NAME="${APP_NAME}"
# Google-Login (Laravel Socialite) Redirect-URI muss in der Google Cloud
# Console exakt der Callback-URL entsprechen, z. B. https://pressekonto.de/auth/google/callback
# 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/...
# 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="${APP_URL}/auth/google/callback"
GOOGLE_REDIRECT_URI=https://pressekonto.de/auth/google/callback