Identify the panel in authenticator app entries #227

Merged
parkel merged 1 commits from feature/panel-authenticator-issuer into main 2026-12-01 12:46:13 +01:00
Owner

Closes #210.

Improvements

  • New authenticator entries include the panel hostname alongside the account
    name during enrollment or replacement. Use the same issuer in the label and
    URI parameter.
  • Use the configured public HTTPS hostname by default, with a fallback to the
    first exact DNS hostname configured for the panel. Operators can set
    COULOBRE_AUTHENTICATOR_NAME to use a custom label.

Upgrade impact

  • Existing authenticator keys and recovery codes remain valid. Authenticator
    apps may keep the label they saved at enrollment. The override is optional.

Verification

  • Verified distinct issuers for the same operator name on two configured
    hostnames. Tests cover first enrollment, factor replacement, the hostname
    fallback, and sign-in after the label changes.
  • Ruff, Django and migration checks passed. The full Django suite ran 622
    tests with one skip. All 29 installer tests passed.
Closes #210. ## Improvements - New authenticator entries include the panel hostname alongside the account name during enrollment or replacement. Use the same issuer in the label and URI parameter. - Use the configured public HTTPS hostname by default, with a fallback to the first exact DNS hostname configured for the panel. Operators can set `COULOBRE_AUTHENTICATOR_NAME` to use a custom label. ## Upgrade impact - Existing authenticator keys and recovery codes remain valid. Authenticator apps may keep the label they saved at enrollment. The override is optional. ## Verification - Verified distinct issuers for the same operator name on two configured hostnames. Tests cover first enrollment, factor replacement, the hostname fallback, and sign-in after the label changes. - Ruff, Django and migration checks passed. The full Django suite ran 622 tests with one skip. All 29 installer tests passed.
parkel added 1 commit 2026-12-01 12:43:36 +01:00
Include the panel identity in authenticator entries
Coulobre Panel CI / Checks (Python 3.12) (pull_request) Canceled after 0s
Coulobre Panel CI / Checks (Python 3.14) (pull_request) Canceled after 0s
2944c6e4a1
parkel merged commit 50234adf83 into main 2026-12-01 12:46:13 +01:00
parkel deleted branch feature/panel-authenticator-issuer 2026-12-01 12:46:13 +01:00
Sign in to join this conversation.