i18n(admin): extract the auth-providers panel (#248) - #297
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Final slice of the admin console for #248 — the external
identity-provider configuration panel (
auth-providers-panel, the largestsingle file in the admin surface, ~1190 lines), covering all four kinds:
OIDC / OAuth 2.0 / SAML / LDAP.
Extracts into
admin.authProviders: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.
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.richcarries the<mono>runs in the LDAP-attribute, OIDCdiscovery-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.
preset.name/notes/paramsfrom the/presetsendpoint) and thelib/sso-presetsdisplay helpers(
setupLinkLabel,validatePresetParam) stay as catalog data; exampleplaceholder values (endpoint URLs, DNs) stay literal — consistent with
the catalog boundary used across i18n: admin/operator-facing surface — next-intl extraction #248.
es/fr/plcarry 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— cleannpx eslint .— cleannpm 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