GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Keycloak's mail server (one-time codes) is configured by hand per environment · Issue #378 · OpenResilienceInitiative/ORISO-Helm

Keycloak's mail server (one-time codes) is configured by hand per environment #378

New issue
Copy link
New issue
Copy link
Closed
Task
Closed
Keycloak's mail server (one-time codes) is configured by hand per environment#378
Task
Copy link
Assignees
Storypapst

Description

@Storypapst
Storypapst
opened on Sep 24, 2026
Issue body actions

What happens

The one-time-code mail (2FA) is sent by Keycloak, which has its own mail server setting. The Helm realm file leaves it empty ("smtpServer": {}), so someone sets it by hand in each environment. It can silently differ from the platform mail server the Admin shows, and a new environment sends no codes until someone remembers.

What should happen — current decision 2026-09-29

Keycloak one-time-code mail must follow platform SMTP saved in Admin Settings / ConsultingTypeService, including changes and password rotation after installation. It must not read a standing second SMTP source from Helm. Security mails use the platform server regardless of a Träger's PLATFORM/OWN mode. Reconciliation needs an authenticated technical identity, safe in-memory credential handling and a trigger after Admin changes as well as install/upgrade. A fresh installation must accept any SMTP provider; if no server is configured, mail-dependent actions show a named setup error. The earlier deployment-source proposal in PR #381 must be revised before merge.

Acceptance criteria

  • A freshly deployed environment sends the one-time-code mail without manual Keycloak configuration.
  • Same server and sender as the other platform mails.

Current delivery status — 30 September 2026

Working status: In progress; planned for v2.0.10.

Developed: Helm #380 / Helm #381 and CTS #166 are merged for Admin-managed SMTP and direct save synchronization.

Still open: Open tenant pin Helm #382 plus first-install/rotation/deployed-mail proof remain.

Scope: The earlier minutely reconciliation proposal is superseded by direct saved-change handling.

Relevant change Verified GitHub state
Admin #1085 Open for review; human review/merge remains.
ConsultingTypeService #166 Merged to dev; deployment not established here.
Helm #380 Merged to dev; deployment not established here.
Helm #381 Merged to dev; deployment not established here.
Helm #382 Open for review; human review/merge remains.

Next action: Review Helm #382 and validate Admin save, Keycloak sync and installation recovery on Dev.

Acceptance still needed: Saving a changed password updates Keycloak; failure stays pending and a fresh install explains missing SMTP.

The release and lane are planning fields. Existing readiness scores are retained; neither a board move nor a green PR establishes deployment or received mail.

For developers — audit boundary (skip for the progress overview):

Updated: 2026-09-30 11:47 UTC.
Native child of https://github.com/OpenResilienceInitiative/ORISO-Frontend/issues/828; live recursive Epic828 inventory contains58 unique descendants.
PR state/review/check snapshot:2026-09-30T11:29:19UTC. Source notes retain the dated code audit; this pass does not repeat every code or runtime test.
Current source, local verification, CI, human review, merge, deployment and real-mail receipt remain separate gates.
No new account, merge, deployment or acceptance was performed by this description update.
Earlier delivery snapshot — superseded by the current section above

Current status — 30 September 2026

The accepted Admin Settings architecture is implemented in the open source package. Review it together and deploy compatible CTS before the new Helm helper. There is no minutely scan or competing chart source. All listed current heads are conflict-free against dev and CI-green; source proof is not a deployed OTP receipt.

Item Current state
Helm #380 Chart SMTP removed; published, current CI passed; human review open
CTS #166 / issue #165 Durable saved revisions, targeted recovery/status; published, current CI passed; In review/12, v2.0.10
Helm #381 Direct saved-change callback plus bounded install/upgrade catchup; published, current CI passed; Hassan validation open
Helm #382 Restacked; strict OWN identity preserved; published, current CI passed; human review open
Admin #1085 Saved/pending/applied display; test-only lint correction published, current CI passed; human review open

For developers — current source references:

Helm3806857e568, CTS1660e58f69c, Helm3817afb6476, Helm3824f56f084, Admin1085aafab1fe.
Master-realm credential is isolated in the helper. CTS/hook use the existing technical identity; UserService gains no realm-admin rights.
Current snapshot revision and safe status are acknowledged; startup catchup retries transient failures for max120seconds, not an idle schedule.
36 pinned-runtime tests; repository94 units/render/lint/package proof. Final identity/helper source and current CI independently checked.
Actual first-admin setup, rotation/restart and received OTP remain open.
Historical published chart-source status — superseded

Current status

Item State
#380 Required deployment SMTP values and UserService startup gate; review pending
#381 Keycloak reconciliation and credential-argument repair at c7dde99; current dev and exact #380 head integrated, local checks and current-head CI green, human review pending
Dev and Stage Mail delivery and operator proof pending

For developers — implementation detail (skip if you only need the status):

The Keycloak realm import skips existing realms. PR #381 adds a post-install/
post-upgrade Job that reads UserService SMTP ConfigMap and Secret keys and
updates realm.smtpServer through kcadm. Secret values do not enter realm.json or kcadm process arguments. The admin
password is read from KC_CLI_PASSWORD and the SMTP update is JSON on stdin.
At c7dde99, 57 Python unit tests, focused SMTP/Keycloak and group-appointment render tests, fixture Helm lint/package and the one current-head CI check passed. Real OTP mail receipt is still unverified.

How to test

  • Install a fresh Dev realm: the SMTP reconcile Job succeeds, and the Keycloak Email screen shows the saved Admin Settings server and sender.
  • Send a one-time code: it arrives from the platform sender without manual Keycloak SMTP setup.
  • Save or rotate SMTP settings in Admin: the existing Keycloak realm follows them without a Helm upgrade.
  • Configure a tenant-owned SMTP server: a Keycloak code still uses platform SMTP.
  • Leave SMTP unset on a fresh install: first-admin setup remains available and mail-dependent actions name the missing configuration; public URL validation still fails installation when absent.

Fixed versus still open

  • Fixed in the current source package: Admin-source direct save synchronization, bounded install catchup, safe diagnostics and strict tenant identity. Human review remains open.
  • Still open: human review, merge, Dev receipt, and Neusta Stage operator sign-off.

Part of OpenResilienceInitiative/ORISO-Frontend#828.

Release audit linkage — v2.0.10

  • SMTP reconcile hook: wait for Admin Settings to finish starting #396 — SMTP rollout recovery slice only.

This link records the delivering change or the stated partial contribution. It does not claim deployment, a passed Dev test, or completion of the whole issue.

Activity

  1. Storypapst
    added a parent issue on Sep 24, 2026
    • EPIC: transactional e-mails — one design system across every sending path ORISO-Frontend#828
  2. github-project-automation
    added this to ORISO Roadmapon Sep 24, 2026
  3. github-project-automation
    moved this to Backlog in ORISO Roadmapon Sep 24, 2026
  4. Storypapst
    self-assigned this
    on Sep 25, 2026
  5. Storypapst
    added the
    Task
    issue type on Sep 25, 2026
  6. Storypapst commented on Sep 25, 2026

    @Storypapst
    Storypapst
    on Sep 25, 2026
    ContributorAuthor
    More actions

    Short thesis: Source for Keycloak's mail server (one-time codes) is configured by hand per environment has reached the published-branch stage.

    Problem: A linked source branch or merged source exists. This score does not mean human approval, Dev deployment, a received email, or completion.

    Readiness: 10/20. This is the GitHub delivery ladder, not a development percentage.

    Next step toward the next level: Run the documented automated review loop, resolve valid findings, and collect the next review evidence.

    Related source: PR 381, PR 166.

    Historical score context (superseded; preserved)

    Short thesis: Keycloak OTP mail has a deployment-owned SMTP path ready for human review.

    Problem: Existing realms ignore realm.json on upgrade, so manual SMTP settings drift and a fresh realm may send no codes.

    Readiness: 10/20. #381 targets dev, has two reviewers requested, and passed local render, shell, lint, and package checks. It is stacked on #380. No merge, Dev OTP receipt, or Stage operator sign-off is claimed.

    Next step toward 11: Review the two Helm PRs in dependency order and verify the post-upgrade Keycloak Job in Dev.

  7. Storypapst
    added 3 commits that reference this issue on Sep 30, 2026

    fix: reconcile Keycloak SMTP from Admin Settings

    515eb1d

    fix: use technical login client for SMTP reconciliation

    bb79359

    feat: synchronize Keycloak SMTP from saved Admin revisions

    881d928
  8. Storypapst
    set
    Platform release
    to
    v2.0.10
    on Sep 30, 2026
  9. Storypapst
    moved this from QA internal to QA external in ORISO Roadmapon Nov 4, 2026
  10. HelenaSKloeckner
    moved this from QA external to Done in ORISO Roadmapon Nov 18, 2026
  11. HelenaSKloeckner
    closed this as completedby moving to Done in ORISO Roadmapon Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @Storypapst
    Storypapst

Labels

No labels
No labels

Type

Task

Fields

Priority

None yet

Platform release

v2.0.10

Projects

  • ORISO Roadmap
    Status
    Done
    Show more project fields

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.