docs: improve oauth setup instructions

This commit is contained in:
Moritz Graf 2026-01-06 13:55:29 +01:00
parent 6c1dbe9681
commit edbb90e5e2
2 changed files with 7 additions and 2 deletions

View File

@ -42,7 +42,12 @@ We use Terraform to manage Firebase Authentication and Firestore. To set this up
* Click **+ Create Credentials** > **OAuth client ID**. * Click **+ Create Credentials** > **OAuth client ID**.
* Type: **Web application**. * Type: **Web application**.
* Name: "Haumdaucher Web". * 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**. * Click **Create**.
5. **Configure Secrets**: 5. **Configure Secrets**:
Run the helper script and paste the **Client ID** and **Client Secret** you just created: Run the helper script and paste the **Client ID** and **Client Secret** you just created:

View File

@ -148,7 +148,7 @@ def cleanup_old_versions(secret_name):
def main(): def main():
print_header("Haumdaucher Secret Manager Setup") print_header("Haumdaucher Secret Manager Setup")
verify_gcloud_login() verify_gcloud_login()
enable_api() # enable_api() # Managed via Terraform now
# Main Loop ensuring state # Main Loop ensuring state
while True: while True: