SsoProviderEdit component provides a unified interface to edit Single Sign-On providers.
- React
- Next.js
- shadcn
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
Full integration example
Full integration example
Props
Required props
Required props are fundamental to the component’s operation.SsoProviderEdit requires the provider ID to load and edit the correct provider.| Prop | Type | Description |
|---|---|---|
providerId | string | Required. The SSO provider ID to edit. |
Display props
Display props control how the component renders without affecting its behavior.| Prop | Type | Description |
|---|---|---|
hideHeader | boolean | Hide 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).| Prop | Type | Description |
|---|---|---|
backButton | Object | Back button configuration. |
sso | SsoProviderTabEditProps | SSO tab actions. Details |
provisioning | SsoProvisioningTabEditProps | Provisioning tab actions. Details |
domains | SsoDomainsTabEditProps | Domains tab actions. Details |
{ 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
SSO tab actions
Thesso prop configures actions for the SSO settings tab. This tab manages the provider’s authentication configuration.| Action | Type | Description |
|---|---|---|
updateAction | ComponentAction<IdentityProvider, IdentityProvider> | Update provider settings. |
deleteAction | ComponentAction<IdentityProvider> | Permanently delete the provider from the tenant. |
deleteFromOrganizationAction | ComponentAction<IdentityProvider> | Remove provider from the organization without deleting it from the tenant. |
ComponentAction<IdentityProvider, IdentityProvider>Controls saving changes to provider configuration (client ID, secrets, certificates, etc.).Properties:disabled—Disable the save buttononBefore(provider)—Runs before the update. Returnfalseto 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.
sso.deleteActionType:
ComponentAction<IdentityProvider>Controls permanent deletion of the provider from your Auth0 tenant. This action cannot be undone.Example:sso.deleteFromOrganizationActionType:
ComponentAction<IdentityProvider>Controls removing the provider from the organization. The provider is detached from the organization but remains in the tenant and can be re-added later.Example:Provisioning tab actions
Theprovisioning prop configures actions for the SCIM provisioning tab. This tab manages automated user provisioning via the SCIM protocol.| Action | Type | Description |
|---|---|---|
createAction | ComponentAction<IdentityProvider,
CreateIdPProvisioningConfigResponseContent> | Enable SCIM provisioning. |
deleteAction | ComponentAction<IdentityProvider> | Disable SCIM provisioning. |
createScimTokenAction | ComponentAction<IdentityProvider,
CreateIdpProvisioningScimTokenResponseContent> | Generate SCIM token. |
deleteScimTokenAction | ComponentAction<IdentityProvider> | Revoke SCIM token. |
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
Thedomains prop configures actions for the domains tab. This tab manages domains associated with the provider for automatic user routing.| Action | Type | Description |
|---|---|---|
createAction | ComponentAction<Domain> | Add a domain. |
verifyAction | ComponentAction<Domain> | Verify domain ownership. |
deleteAction | ComponentAction<Domain> | Delete a domain. |
associateToProviderAction | ComponentAction<Domain, IdentityProvider | null> | Associate domain to provider. |
deleteFromProviderAction | ComponentAction<Domain, IdentityProvider | null> | Remove domain from provider. |
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.| Prop | Type | Description |
|---|---|---|
schema | SsoProviderEditSchema | Field validation rules. |
customMessages | Partial<SsoProviderEditMessages> | i18n text overrides. |
styling | ComponentStyling<SsoProviderEditClasses> | CSS variables and class overrides. |
Available Schema Fields
Available Schema Fields
All schema fields support:
regex, errorMessage, minLength, maxLength, requiredprovider.*—Provider configuration fields by strategy- Common:
name,displayName - Strategy-specific fields (same as SsoProviderCreate)
customMessagesCustomize all text and translations. All fields are optional and use defaults if not provided.
Available Messages
Available Messages
header—Component header
title,back_button_text
sso,provisioning,domains
title,descriptionfields.*—Form field labels by strategyactions.save_button_text,actions.delete_button_textdelete_modal.*,remove_modal.*
title,descriptionscim_endpoint.label,scim_token.labelactions.enable_button_text,actions.disable_button_textactions.generate_token_button_text,actions.revoke_token_button_text
title,description- Same structure as DomainTable messages
provider_update_success,provider_delete_successprovisioning_enable_success,provisioning_disable_successscim_token_create_success,scim_token_delete_success- Domain-related notifications
stylingCustomize appearance with CSS variables and class overrides. Supports theme-aware styling.
Available Styling Options
Available Styling Options
Variables—CSS custom properties
common—Applied to all themeslight—Light theme onlydark—Dark theme only
SsoProviderEdit-headerSsoProviderEdit-tabs
Advanced customization
Available hooks
These hooks provide the underlying logic without any UI. Use them to build completely custom interfaces while leveraging the Auth0 API integration.| Hook | Description |
|---|---|
useSsoProviderEdit | Provider loading and update logic |
useSsoDomainTab | Domain association management |