feat(keycloak): RECOVERY_AUTHN_CODES aktiviert, Entrypoint mit KC_HTTP_ENABLED-Auto-Detection, KEYCLOAK_THEME_DEV #310

Merged
niboer merged 2 commits from feat/keycloak-entrypoint-http into main 2026-07-19 21:55:27 +00:00
Owner

Allgemein

Altes Verhalten

  • recovery-codes in features-disabled gelistet
  • Entrypoint: mit Zertifikaten kc.sh start, ohne kc.sh start-dev, was es unmöglich gemacht hat PROD ohne HTTPS zu starten.
  • KC_HTTP_ENABLED/KC_HTTP_PORT nicht gesetzt

Neues Verhalten

  • recovery-codes aus features-disabled entfernt → RECOVERY_AUTHN_CODES aktiv
  • Entrypoint: KEYCLOAK_THEME_DEV=truekc.sh start-dev (Theme-Live-Edit)
  • Sonst immer kc.sh start mit Auto-Detection:
    • Zertifikate vorhanden → HTTPS (8443)
    • Keine Zertifikate + KC_HTTP_ENABLED nicht falseKC_HTTP_ENABLED=true (HTTP 8080)
  • KC_HTTP_PORT wird immer mit Default 8080 exportiert
  • KC_HTTP_ENABLED: ${KEYCLOAK_HTTP_ENABLED:-} in docker-compose.yml
  • .env.example mit KEYCLOAK_HTTP_ENABLED und KEYCLOAK_THEME_DEV ergaenzt

Begruendung

  • Production-faehiger Start ohne Zertifikate (KC_HTTP_ENABLED=true) für aktuelle laufende Beta-Tests.
  • Theme-Dev via KEYCLOAK_THEME_DEV trennt Entwicklungs- und Produktions-Modus sauber.
  • Fehlende RECOVERY_AUTHN_CODES hat für Startfehler bei bestehenden Instanzen gesorgt.
### Allgemein - refs #305 ### Altes Verhalten - `recovery-codes` in `features-disabled` gelistet - Entrypoint: mit Zertifikaten `kc.sh start`, ohne `kc.sh start-dev`, was es unmöglich gemacht hat PROD ohne HTTPS zu starten. - `KC_HTTP_ENABLED`/`KC_HTTP_PORT` nicht gesetzt ### Neues Verhalten - `recovery-codes` aus `features-disabled` entfernt → RECOVERY_AUTHN_CODES aktiv - Entrypoint: `KEYCLOAK_THEME_DEV=true` → `kc.sh start-dev` (Theme-Live-Edit) - Sonst immer `kc.sh start` mit Auto-Detection: - Zertifikate vorhanden → HTTPS (8443) - Keine Zertifikate + `KC_HTTP_ENABLED` nicht `false` → `KC_HTTP_ENABLED=true` (HTTP 8080) - `KC_HTTP_PORT` wird immer mit Default `8080` exportiert - `KC_HTTP_ENABLED: ${KEYCLOAK_HTTP_ENABLED:-}` in docker-compose.yml - `.env.example` mit `KEYCLOAK_HTTP_ENABLED` und `KEYCLOAK_THEME_DEV` ergaenzt ### Begruendung - Production-faehiger Start ohne Zertifikate (KC_HTTP_ENABLED=true) für aktuelle laufende Beta-Tests. - Theme-Dev via KEYCLOAK_THEME_DEV trennt Entwicklungs- und Produktions-Modus sauber. - Fehlende RECOVERY_AUTHN_CODES hat für Startfehler bei bestehenden Instanzen gesorgt.
feat(keycloak): RECOVERY_AUTHN_CODES aktiviert, Entrypoint mit KC_HTTP_ENABLED-Auto-Detection, KEYCLOAK_THEME_DEV
Some checks failed
CI Backend / lint-backend (pull_request) Successful in 1m8s
CI Frontend / lint-frontend (pull_request) Successful in 1m35s
CI Meta / conventional-commit (pull_request) Successful in 1s
E2E / e2e (pull_request) Failing after 3m12s
CI Frontend / test-frontend (pull_request) Has been cancelled
CI Backend / test-backend (pull_request) Has been cancelled
7ad7db8955
- recovery-codes aus features-disabled entfernt (RECOVERY_AUTHN_CODES aktiv)
- Entrypoint immer kc.sh start (production), kein start-dev mehr
- KC_HTTP_ENABLED wird automatisch auf true gesetzt bei fehlenden Zertifikaten
- KEYCLOAK_THEME_DEV=true schaltet auf start-dev um (Theme-Entwicklung)
- KC_HTTP_PORT wird immer mit Default 8080 exportiert
- KC_HTTP_ENABLED: ${KEYCLOAK_HTTP_ENABLED:-} in docker-compose ergaenzt
- .env.example und AGENTS.md aktualisiert
fix(keycloak): KC_HTTP_ENABLED aus docker-compose entfernt (interferiert mit Entrypoint-Auto-Detection)
All checks were successful
CI Backend / lint-backend (pull_request) Successful in 1m1s
CI Frontend / lint-frontend (pull_request) Successful in 1m21s
CI Meta / conventional-commit (pull_request) Successful in 1s
E2E / e2e (pull_request) Successful in 5m9s
CI Backend / test-backend (pull_request) Successful in 3m55s
CI Frontend / test-frontend (pull_request) Successful in 2m4s
bce0a3abad
niboer merged commit 41868b283b into main 2026-07-19 21:55:27 +00:00
niboer deleted branch feat/keycloak-entrypoint-http 2026-07-19 21:55:27 +00:00
Sign in to join this conversation.
No description provided.