Customize live SSO labels and readable OIDC profile names #22

Merged
jchapman merged 1 commit from codex/issues-1-3-sso-profile into main 2026-10-27 02:49:00 +00:00
Owner

Administrators can now set Sign-in > SSO button text and have it refresh on desktop/mobile sign-in screens without restarting Bridge. Blank text restores the default; input is bounded to 120 Unicode characters, controls are rejected, and HTML remains text. The setting uses existing encrypted persistence and administrator authorization.

OIDC accounts now show a bounded readable label from the verified ID token (name, then preferred_username, then SSO user) in the session header and administrator views. Names refresh at sign-in. Stable account IDs distinguish duplicates; issuer plus subject, internal usernames, roles and verified-email rules remain unchanged. Existing accounts receive the readable fallback until their next provider sign-in.

Validation passed locally: Linux AMD64 backend tests and vet with the pinned importer; focused API and auth/configuration race suites; UI lint/build and audit (zero reported vulnerabilities); all four focused browser suites; full disposable browser/queue/SQLite/upload-recovery/settings walkthrough, including live label and restart persistence; nine CI policy tests and source/document/workflow contracts; redacted full-history and staged-source secret scans. Added regressions cover duplicate/changed/missing/malformed names, separate issuers, local-account separation, authorization, fallback, bounds, escaping and mobile layout. Documentation and installation checkpoints are updated.

References #1 and #3; workflow followed from #14. Review draft: source published, not merged or deployed. Native Forgejo AMD64/ARM64 release gates and actual-provider/deployed checks remain outstanding; no gate waiver is claimed. The existing UI bundle-size advisory remains. No active upload/task or pilot service was interrupted. Held issue #12 and PR #19 remain untouched.

Administrators can now set **Sign-in > SSO button text** and have it refresh on desktop/mobile sign-in screens without restarting Bridge. Blank text restores the default; input is bounded to 120 Unicode characters, controls are rejected, and HTML remains text. The setting uses existing encrypted persistence and administrator authorization. OIDC accounts now show a bounded readable label from the verified ID token (`name`, then `preferred_username`, then `SSO user`) in the session header and administrator views. Names refresh at sign-in. Stable account IDs distinguish duplicates; issuer plus subject, internal usernames, roles and verified-email rules remain unchanged. Existing accounts receive the readable fallback until their next provider sign-in. Validation passed locally: Linux AMD64 backend tests and vet with the pinned importer; focused API and auth/configuration race suites; UI lint/build and audit (zero reported vulnerabilities); all four focused browser suites; full disposable browser/queue/SQLite/upload-recovery/settings walkthrough, including live label and restart persistence; nine CI policy tests and source/document/workflow contracts; redacted full-history and staged-source secret scans. Added regressions cover duplicate/changed/missing/malformed names, separate issuers, local-account separation, authorization, fallback, bounds, escaping and mobile layout. Documentation and installation checkpoints are updated. References #1 and #3; workflow followed from #14. Review draft: source published, not merged or deployed. Native Forgejo AMD64/ARM64 release gates and actual-provider/deployed checks remain outstanding; no gate waiver is claimed. The existing UI bundle-size advisory remains. No active upload/task or pilot service was interrupted. Held issue #12 and PR #19 remain untouched.
Customize live SSO labels and display readable OIDC profile names
Some checks failed
Bridge validation / source (amd64) (push) Has been cancelled
Bridge validation / source (arm64) (push) Has been cancelled
Bridge validation / backend (amd64) (push) Has been cancelled
Bridge validation / backend (arm64) (push) Has been cancelled
Bridge validation / isolation (amd64) (push) Has been cancelled
Bridge validation / isolation (arm64) (push) Has been cancelled
Bridge validation / browser (amd64) (push) Has been cancelled
Bridge validation / browser (arm64) (push) Has been cancelled
Bridge validation / production (amd64) (push) Has been cancelled
Bridge validation / production (arm64) (push) Has been cancelled
Bridge validation / supply_chain (amd64) (push) Has been cancelled
Bridge validation / supply_chain (arm64) (push) Has been cancelled
Bridge validation / release-gate (push) Has been cancelled
2ff357ea69
jchapman changed title from WIP: Customize live SSO labels and readable OIDC profile names to Customize live SSO labels and readable OIDC profile names 2026-10-27 02:48:42 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jchapman/Immich-Bridge!22
No description provided.