Skip to main content
The SsoProviderEdit component provides a unified interface to edit Single Sign-On providers.

Setup requirements

Auth0 Configuration Required—Ensure your tenant is configured with the My Organization API. View setup guide →

Installation

Running either command also installs the @auth0/universal-components-core dependency for shared utilities and Auth0 integration.

Get started

Props

Required props

Required props are fundamental to the component’s operation. SsoProviderEdit requires the provider ID to load and edit the correct provider.
PropTypeDescription
providerIdstringRequired. The SSO provider ID to edit.

Display props

Display props control how the component renders without affecting its behavior.
PropTypeDescription
hideHeaderbooleanHide the header section. Default: false

Action props

User interactions across the three tabs are handled by several action props that are organized under the respective tab’s name (sso, provisioning, and domains).
PropTypeDescription
backButtonObjectBack button configuration.
ssoSsoProviderTabEditPropsSSO tab actions. Details
provisioningSsoProvisioningTabEditPropsProvisioning tab actions. Details
domainsSsoDomainsTabEditPropsDomains tab actions. Details
backButtonType: { icon?: LucideIcon; onClick: (e: MouseEvent) => void }Configures the back button in the component header. Use this to navigate back to your providers list.Properties:
  • icon—Custom Lucide icon component (optional, defaults to ArrowLeft)
  • onClick—Click handler for navigation
Example:

SSO tab actions

The sso prop configures actions for the SSO settings tab. This tab manages the provider’s authentication configuration.
ActionTypeDescription
updateActionComponentAction<IdentityProvider, IdentityProvider>Update provider settings.
deleteActionComponentAction<IdentityProvider>Delete provider permanently.
removeFromOrganizationActionComponentAction<IdentityProvider>Remove from organization.
sso.updateActionType: ComponentAction<IdentityProvider, IdentityProvider>Controls saving changes to provider configuration (client ID, secrets, certificates, etc.).Properties:
  • disabled—Disable the save button
  • onBefore(provider)—Runs before the update. Return false to prevent saving (for example, to show a confirmation dialog).
  • onAfter(provider, result)—Runs after the provider is successfully updated. Use this to show a notification or track the event.
Example:

sso.deleteActionType: ComponentAction<IdentityProvider>Controls permanent deletion of the provider from your Auth0 tenant.Example:

sso.removeFromOrganizationActionType: ComponentAction<IdentityProvider>Controls removing the provider from the organization without deleting it. The provider remains available to be re-added later.Example:

Provisioning tab actions

The provisioning prop configures actions for the SCIM provisioning tab. This tab manages automated user provisioning via the SCIM protocol.
ActionTypeDescription
createActionComponentAction<IdentityProvider, CreateIdPProvisioningConfigResponseContent>Enable SCIM provisioning.
deleteActionComponentAction<IdentityProvider>Disable SCIM provisioning.
createScimTokenActionComponentAction<IdentityProvider, CreateIdpProvisioningScimTokenResponseContent>Generate SCIM token.
deleteScimTokenActionComponentAction<IdentityProvider>Revoke SCIM token.
provisioning.createActionType: ComponentAction<IdentityProvider, CreateIdPProvisioningConfigResponseContent>Enables SCIM provisioning for the provider. Once enabled, you can generate a SCIM token for your identity provider to use.Example:

provisioning.deleteActionType: ComponentAction<IdentityProvider>Disables SCIM provisioning and removes all provisioning configuration for that identity provider.Example:

provisioning.createScimTokenActionType: ComponentAction<IdentityProvider, CreateIdpProvisioningScimTokenResponseContent>Generates a new SCIM bearer token for your identity provider to authenticate with Auth0.Example:

provisioning.deleteScimTokenActionType: ComponentAction<IdentityProvider>Revokes the SCIM token. The identity provider will no longer be able to sync users until a new token is generated.Example:

Domains tab actions

The domains prop configures actions for the domains tab. This tab manages domains associated with the provider for automatic user routing.
ActionTypeDescription
createActionComponentAction<Domain>Add a domain.
verifyActionComponentAction<Domain>Verify domain ownership.
deleteActionComponentAction<Domain>Delete a domain.
associateToProviderActionComponentAction<Domain, IdentityProvider | null>Associate domain to provider.
deleteFromProviderActionComponentAction<Domain, IdentityProvider | null>Remove domain from provider.
domains.createActionType: ComponentAction<Domain>Controls adding new domains to the organization from within the provider edit interface.Example:

domains.verifyActionType: ComponentAction<Domain>Controls domain verification via DNS TXT record.Example:

domains.deleteActionType: ComponentAction<Domain>Controls domain deletion.Example:

domains.associateToProviderActionType: ComponentAction<Domain, IdentityProvider | null>Associates a verified domain with this SSO provider for automatic user routing.Example:

domains.deleteFromProviderActionType: ComponentAction<Domain, IdentityProvider | null>Removes a domain’s association with this provider.

Customization props

Customization props let you adapt the component to your brand, locale, and validation requirements without modifying source code.
PropTypeDescription
schemaSsoProviderEditSchemaField validation rules.
customMessagesPartial<SsoProviderEditMessages>i18n text overrides.
stylingComponentStyling<SsoProviderEditClasses>CSS variables and class overrides.
schemaSet custom validation rules for provider and domain fields.
All schema fields support: regex, errorMessage, minLength, maxLength, requiredprovider.*—Provider configuration fields by strategy
  • Common: name, displayName
  • Strategy-specific fields (same as SsoProviderCreate)
domains.create.domainUrl—Domain URL validation

customMessagesCustomize all text and translations. All fields are optional and use defaults if not provided.
header—Component header
  • title, back_button_text
tabs—Tab labels
  • sso, provisioning, domains
sso_tab—SSO settings tab
  • title, description
  • fields.*—Form field labels by strategy
  • actions.save_button_text, actions.delete_button_text
  • delete_modal.*, remove_modal.*
provisioning_tab—Provisioning tab
  • title, description
  • scim_endpoint.label, scim_token.label
  • actions.enable_button_text, actions.disable_button_text
  • actions.generate_token_button_text, actions.revoke_token_button_text
domains_tab—Domains tab
  • title, description
  • Same structure as DomainTable messages
notifications—API responses
  • provider_update_success, provider_delete_success
  • provisioning_enable_success, provisioning_disable_success
  • scim_token_create_success, scim_token_delete_success
  • Domain-related notifications

stylingCustomize appearance with CSS variables and class overrides. Supports theme-aware styling.
Variables—CSS custom properties
  • common—Applied to all themes
  • light—Light theme only
  • dark—Dark theme only
Classes—Component class overrides
  • SsoProviderEdit-header
  • SsoProviderEdit-tabs
  • SsoProviderEdit-ssoTab
  • SsoProviderEdit-provisioningTab
  • SsoProviderEdit-domainsTab

Advanced customization

The SsoProviderEdit component is composed of smaller subcomponents and hooks. You can import them individually to build custom provider editing workflows if you use shadcn.

Available subcomponents

For advanced use cases, you can import individual subcomponents to embed specific tabs or sections in different contexts.
ComponentDescription
SsoProviderSsoTabSSO configuration form
SsoProviderProvisioningTabSCIM provisioning management
SsoProviderDomainsTabDomain association management
ProviderConfigureFieldsDynamic form fields by strategy
ScimTokenDisplaySCIM token display with copy functionality

Available hooks

These hooks provide the underlying logic without any UI. Use them to build completely custom interfaces while leveraging the Auth0 API integration.
HookDescription
useSsoProviderEditProvider loading and update logic
useSsoProviderProvisioningSCIM provisioning management
useSsoProviderDomainsDomain association management