refactor: enhance platform configuration, database schema handling, and Keycloak setup

Improved `PlatformConfig` API base URL resolution with enhanced logging and fallback logic. Revised database initialization with version checks, schema migration, and error handling. Updated Keycloak configuration to enable `Direct Access Grants` and refine CORS/redirect settings. Adjusted Webpack proxy settings for correct API routing.
This commit is contained in:
2026-01-27 15:12:58 +01:00
parent bddeba81be
commit 637d610a5b
12 changed files with 250 additions and 38 deletions
@@ -92,7 +92,9 @@
"webOrigins": [
"http://localhost:8081",
"http://localhost:3000",
"https://app.meldestelle.at"
"https://app.meldestelle.at",
"http://localhost:8080",
"*"
],
"protocol": "openid-connect",
"bearerOnly": false,
@@ -189,7 +191,7 @@
"publicClient": true,
"standardFlowEnabled": true,
"implicitFlowEnabled": false,
"directAccessGrantsEnabled": false,
"directAccessGrantsEnabled": true,
"redirectUris": [
"http://localhost:8080/*",
"http://localhost:4000/*",
@@ -200,7 +202,8 @@
"http://localhost:8080",
"http://localhost:4000",
"http://localhost:3000",
"https://app.meldestelle.at"
"https://app.meldestelle.at",
"*"
],
"protocol": "openid-connect",
"attributes": {