feat(oidc): 支持自定义 OIDC 登录显示名称 (#6012)

* docs: add design spec for OIDC custom display name

Mirrors the existing Custom OAuth Provider name pattern so admins can
show a meaningful label instead of the hardcoded "OIDC" on the login
page and in related copy.

* feat(oidc): add configurable display name with OIDC fallback

* feat(oidc): use configured display name in provider name and status API

* feat(oidc): add display name field to default-theme OIDC settings

Claude-Session: https://claude.ai/code/session_01FDkWJqigJi9yE3HG5pjZP5

* feat(oidc): show configured display name on default-theme login button

* feat(oidc): add display name field to classic-theme OIDC settings

* feat(oidc): show configured display name on classic-theme login button

* fix(oidc): trim whitespace before applying display name fallback

* chore: remove internal design doc from PR

Design/planning docs are working artifacts for this session and
shouldn't be submitted to the upstream project.

* fix(oidc): lead with example in classic-theme display name placeholder

Reorders the combined placeholder to show the example first, then
the fallback note, matching the Custom OAuth Provider Name field's
placeholder convention (example-only) that this feature mirrors.

* fix(i18n): improve Russian grammar in OIDC display-name placeholder translation

Leads each clause with its condition/subject and adds the missing
verb, per PR review feedback.

* test(web): remove redundant OIDC harness tests
This commit is contained in:
June Chi
2026-07-29 16:27:15 +08:00
committed by GitHub
parent c27d1ef651
commit cb4c8c02f8
20 changed files with 213 additions and 6 deletions
+3
View File
@@ -1580,6 +1580,9 @@
"Enable LinuxDO OAuth": "Enable LinuxDO OAuth",
"Enable model performance metrics": "Enable model performance metrics",
"Enable OIDC": "Enable OIDC",
"OIDC Display Name": "OIDC Display Name",
"e.g. Company SSO": "e.g. Company SSO",
"Defaults to \"OIDC\" if left blank": "Defaults to \"OIDC\" if left blank",
"Enable or disable this channel": "Enable or disable this channel",
"Enable or disable this model": "Enable or disable this model",
"Enable Passkey": "Enable Passkey",
+3
View File
@@ -1580,6 +1580,9 @@
"Enable LinuxDO OAuth": "Activer LinuxDO OAuth",
"Enable model performance metrics": "Activer les indicateurs de performance des modèles",
"Enable OIDC": "Activer OIDC",
"OIDC Display Name": "Nom d'affichage OIDC",
"e.g. Company SSO": "ex. SSO de l'entreprise",
"Defaults to \"OIDC\" if left blank": "Par défaut « OIDC » si laissé vide",
"Enable or disable this channel": "Activer ou désactiver ce canal",
"Enable or disable this model": "Activer ou désactiver ce modèle",
"Enable Passkey": "Activer Passkey",
+3
View File
@@ -1580,6 +1580,9 @@
"Enable LinuxDO OAuth": "LinuxDO OAuthを有効にする",
"Enable model performance metrics": "モデル性能メトリクスを有効化",
"Enable OIDC": "OIDCを有効にする",
"OIDC Display Name": "OIDC 表示名",
"e.g. Company SSO": "例:会社の SSO",
"Defaults to \"OIDC\" if left blank": "空欄の場合は「OIDC」がデフォルトで表示されます",
"Enable or disable this channel": "このチャネルを有効または無効にする",
"Enable or disable this model": "このモデルを有効または無効にする",
"Enable Passkey": "Passkeyを有効にする",
+3
View File
@@ -1580,6 +1580,9 @@
"Enable LinuxDO OAuth": "Включить LinuxDO OAuth",
"Enable model performance metrics": "Включить метрики производительности моделей",
"Enable OIDC": "Включить OIDC",
"OIDC Display Name": "Отображаемое имя OIDC",
"e.g. Company SSO": "например, корпоративный SSO",
"Defaults to \"OIDC\" if left blank": "Если оставить пустым, будет отображаться «OIDC».",
"Enable or disable this channel": "Включить или отключить этот канал",
"Enable or disable this model": "Включить или отключить эту модель",
"Enable Passkey": "Включить Passkey",
+3
View File
@@ -1580,6 +1580,9 @@
"Enable LinuxDO OAuth": "Bật LinuxDO OAuth",
"Enable model performance metrics": "Bật chỉ số hiệu năng mô hình",
"Enable OIDC": "Bật OIDC",
"OIDC Display Name": "Tên hiển thị OIDC",
"e.g. Company SSO": "ví dụ: SSO công ty",
"Defaults to \"OIDC\" if left blank": "Mặc định là \"OIDC\" nếu để trống",
"Enable or disable this channel": "Bật hoặc tắt kênh này",
"Enable or disable this model": "Bật hoặc tắt mô hình này",
"Enable Passkey": "Bật khóa truy cập",
+3
View File
@@ -1580,6 +1580,9 @@
"Enable LinuxDO OAuth": "啟用 LinuxDO OAuth",
"Enable model performance metrics": "啟用模型效能指標",
"Enable OIDC": "啟用 OIDC",
"OIDC Display Name": "OIDC 顯示名稱",
"e.g. Company SSO": "例如:公司 SSO",
"Defaults to \"OIDC\" if left blank": "留空則預設顯示為 \"OIDC\"",
"Enable or disable this channel": "啟用或停用此渠道",
"Enable or disable this model": "啟用或停用此模型",
"Enable Passkey": "啟用 Passkey",
+3
View File
@@ -1580,6 +1580,9 @@
"Enable LinuxDO OAuth": "启用 LinuxDO OAuth",
"Enable model performance metrics": "启用模型性能指标",
"Enable OIDC": "启用 OIDC",
"OIDC Display Name": "OIDC 显示名称",
"e.g. Company SSO": "例如:公司 SSO",
"Defaults to \"OIDC\" if left blank": "留空则默认显示为 \"OIDC\"",
"Enable or disable this channel": "启用或禁用此渠道",
"Enable or disable this model": "启用或禁用此模型",
"Enable Passkey": "启用 Passkey",