From edbb90e5e20bba1846f4fef55b4b1d44a37055c4 Mon Sep 17 00:00:00 2001 From: Moritz Graf Date: Tue, 6 Jan 2026 13:55:29 +0100 Subject: [PATCH] docs: improve oauth setup instructions --- README.md | 7 ++++++- scripts/manage_secrets.py | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a3c3b52..ade08a1 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,12 @@ We use Terraform to manage Firebase Authentication and Firestore. To set this up * Click **+ Create Credentials** > **OAuth client ID**. * Type: **Web application**. * Name: "Haumdaucher Web". - * **Important**: Add `http://localhost:5173` to **Authorized JavaScript origins**. + * **Authorized JavaScript origins**: + * `http://localhost:5173` + * `https://haumdaucher.de` + * `https://haumdaucher.web.app` (Default Firebase Hosting URL) + * **Authorized redirect URIs**: + * `https://haumdaucher.firebaseapp.com/__/auth/handler` * Click **Create**. 5. **Configure Secrets**: Run the helper script and paste the **Client ID** and **Client Secret** you just created: diff --git a/scripts/manage_secrets.py b/scripts/manage_secrets.py index 2a67c1c..89a248c 100755 --- a/scripts/manage_secrets.py +++ b/scripts/manage_secrets.py @@ -148,7 +148,7 @@ def cleanup_old_versions(secret_name): def main(): print_header("Haumdaucher Secret Manager Setup") verify_gcloud_login() - enable_api() + # enable_api() # Managed via Terraform now # Main Loop ensuring state while True: