From 7b1f1e79fb42ac0f62390ba7d4f9385307a6c989 Mon Sep 17 00:00:00 2001
From: ValueOn AG
Date: Wed, 10 Jun 2026 00:10:30 +0200
Subject: [PATCH] fixes
---
...-05-int-environment-infomaniak-migration.md | 2 +-
...lementation_doc_userauth_process_concept.md | 18 +++++++++---------
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/c-work/4-done/2026-05-int-environment-infomaniak-migration.md b/c-work/4-done/2026-05-int-environment-infomaniak-migration.md
index 08490b3..274db12 100644
--- a/c-work/4-done/2026-05-int-environment-infomaniak-migration.md
+++ b/c-work/4-done/2026-05-int-environment-infomaniak-migration.md
@@ -17,7 +17,7 @@ Betrifft nur `poweron-swiss`-Repos. Die `poweron`-Repos (gateway, ui-nyla) bleib
- [x] `env-int.env`: DB_HOST → `db-int.poweron.swiss`
- [x] `env-int.env`: DB_USER → `poweron_dev`
- [x] `env-int.env`: OAuth-Redirect-URIs → `api-int.poweron.swiss`
-- [x] `env-int.env`: CORS (APP_ALLOWED_ORIGINS) → alle UI-Domains (poweron.swiss + poweron-center.net)
+- [x] `env-int.env`: CORS (APP_ALLOWED_ORIGINS) → alle UI-Domains (poweron.swiss)
- [x] `env-int.env`: APP_KEY_SYSVAR → `/srv/platform-core/shared/secrets/master_key.txt`
- [x] `env-int.env`: APP_LOGGING_LOG_DIR → `srv/platform-core/shared/logs`
- [x] `env-int.env`: TEAMSBOT_BROWSER_BOT_URL → `http://teamsbot.poweron.swiss:4100`
diff --git a/z-archive/implementation/implementation_doc_userauth_process_concept.md b/z-archive/implementation/implementation_doc_userauth_process_concept.md
index 29a3432..e7156cd 100644
--- a/z-archive/implementation/implementation_doc_userauth_process_concept.md
+++ b/z-archive/implementation/implementation_doc_userauth_process_concept.md
@@ -288,7 +288,7 @@ from modules.services import getInterface as getServices
services = getServices(rootUser)
# Generate magic link
-frontendUrl = APP_CONFIG.get("Frontend_BASE_URL", "https://playground.poweron-center.net")
+frontendUrl = APP_CONFIG.get("Frontend_BASE_URL", "https://playground.poweron.swiss")
magicLink = f"{frontendUrl}/reset.html?token={resetToken}"
# Prepare email content
@@ -369,7 +369,7 @@ def sendPasswordResetEmail(
try:
# Get frontend URL from config
from modules.shared.configuration import APP_CONFIG
- frontendUrl = APP_CONFIG.get("Frontend_BASE_URL", "https://playground.poweron-center.net")
+ frontendUrl = APP_CONFIG.get("Frontend_BASE_URL", "https://playground.poweron.swiss")
magicLink = f"{frontendUrl}/reset.html?token={token}"
# Get expiry hours from config
@@ -426,10 +426,10 @@ If you did not request this, please ignore this email.
**File**: `gateway/config.ini`
```ini
# Frontend URL for magic link generation
-Frontend_BASE_URL = https://playground.poweron-center.net
+Frontend_BASE_URL = https://playground.poweron.swiss
# Or use environment-specific values:
-# Frontend_BASE_URL_INT = https://playground-int.poweron-center.net
-# Frontend_BASE_URL_PROD = https://playground.poweron-center.net
+# Frontend_BASE_URL_INT = https://playground-int.poweron.swiss
+# Frontend_BASE_URL_PROD = https://playground.poweron.swiss
```
**File**: `gateway/env_*.env` (environment-specific)
@@ -975,7 +975,7 @@ def resetPasswordWithToken(self, token: str, newPassword: str) -> bool:
Auth_RESET_TOKEN_EXPIRY_HOURS = 24
# Frontend URL for magic links
-Frontend_BASE_URL = https://playground.poweron-center.net
+Frontend_BASE_URL = https://playground.poweron.swiss
```
#### 3.2 Add Password Reset Endpoints
@@ -1011,7 +1011,7 @@ async def passwordResetRequest(
services = Services(user)
# Generate magic link
- frontendUrl = APP_CONFIG.get("Frontend_BASE_URL", "https://playground.poweron-center.net")
+ frontendUrl = APP_CONFIG.get("Frontend_BASE_URL", "https://playground.poweron.swiss")
magicLink = f"{frontendUrl}/reset.html?token={token}"
# Send email
@@ -1277,8 +1277,8 @@ Auth_RESET_TOKEN_EXPIRY_HOURS = 24
# Frontend URL for magic link generation (add to each env file)
APP_FRONTEND_URL = https://your-frontend-domain.com
# Examples:
-# env_int.env: APP_FRONTEND_URL = https://playground-int.poweron-center.net
-# env_prod.env: APP_FRONTEND_URL = https://playground.poweron-center.net
+# env_int.env: APP_FRONTEND_URL = https://playground-int.poweron.swiss
+# env_prod.env: APP_FRONTEND_URL = https://playground.poweron.swiss
```
### Usage