Skip to content

i18n(admin): extract the auth-providers panel (#248) - #297

Merged
tbcsec merged 1 commit into
mainfrom
i18n/admin-auth-providers
Aug 24, 2026
Merged

i18n(admin): extract the auth-providers panel (#248)#297
tbcsec merged 1 commit into
mainfrom
i18n/admin-auth-providers

Conversation

@tbcsec

@tbcsec tbcsec commented Aug 24, 2026

Copy link
Copy Markdown
Owner

Summary

Final slice of the admin console for #248 — the external
identity-provider configuration panel (auth-providers-panel, the largest
single file in the admin surface, ~1190 lines), covering all four kinds:
OIDC / OAuth 2.0 / SAML / LDAP.

Extracts into admin.authProviders:

  • The provider form — per-kind field labels and hints (LDAP directory
    binding, SAML IdP/SP details, OAuth2 endpoints + claim map, OIDC issuer +
    tenant template), the protocol picker, the write-only secret field, and
    the sign-in-policy (posture) + trust-email controls.
  • The quick-setup header/intro and the provider list — kind /
    enabled / closed badges, the redirect-URI / SP-metadata / LDAP notes, the
    enable-disable-delete actions and their toasts, the delete confirm, and
    the empty state.

Notes

  • t.rich carries the <mono> runs in the LDAP-attribute, OIDC
    discovery-URL and Entra tenant-template hints. The literal {tenantid}
    token is ICU-escaped ('{tenantid}') so it renders verbatim —
    verified it renders as the literal, not a dropped placeholder.
  • The preset catalog (preset.name / notes / params from the
    /presets endpoint) and the lib/sso-presets display helpers
    (setupLinkLabel, validatePresetParam) stay as catalog data; example
    placeholder values (endpoint URLs, DNs) stay literal — consistent with
    the catalog boundary used across i18n: admin/operator-facing surface — next-intl extraction #248.
  • es / fr / pl carry the English source until Crowdin translates them.

With this, the admin console — and the #248 operator-surface i18n
extraction — is complete
.

Verification

  • npx tsc --noEmit — clean
  • npx eslint . — clean
  • npm run test — 372 passing (incl. the message-catalog ICU/tag gate)
  • npm run build — succeeds (Y.js singleton check passes)

Closes #248.

🤖 Generated with Claude Code

Final slice of the admin console (#248): the external identity-provider
configuration panel — the largest single file in the surface, covering all
four kinds (OIDC / OAuth 2.0 / SAML / LDAP).

Extracts the provider form (per-kind field labels + hints, the protocol
picker, the write-only secret, the sign-in-policy posture and trust-email
controls), the quick-setup header, the provider list (kind/enabled/closed
badges, redirect-URI / SP-metadata / LDAP notes, enable-disable-delete and
their toasts), the delete confirm, and the empty state.

`t.rich` carries the mono runs in the LDAP-attribute, OIDC-discovery and
Entra-tenant hints; the literal `{tenantid}` token is ICU-escaped so it
renders verbatim. The preset catalog (name/notes/params from /presets) and
the lib/sso-presets display helpers stay as catalog data, and example
placeholder values stay literal — consistent with the rest of #248.

With this, the admin console — and the #248 operator-surface extraction —
is complete. es/fr/pl carry the English source until Crowdin translates.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@tbcsec
tbcsec merged commit dfc3b3f into main Aug 24, 2026
4 checks passed
@tbcsec
tbcsec deleted the i18n/admin-auth-providers branch August 24, 2026 03:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

i18n: admin/operator-facing surface — next-intl extraction

1 participant