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

Third-party application access and Cross App Access

These controls are shown only when the organization has full access to the SSO connection. For connections with restricted access, both fields are hidden. use_for_third_party_client_access enables the connection to be used by third-party applications. When the organization’s third_party_client_access policy is set to "block", this checkbox remains visible but is disabled — an explanatory message is shown asking the administrator to first enable third-party access at the organization level. cross_app_access_resource_app configures Cross App Access (XAA). It is available for OIDC and Okta connections directly, and for SAML connections via an OIDC discovery URL that must be provided first. Availability is controlled by GET /my-org/config/identity-providers — when the strategy’s cross_app_access_resource_app configuration is absent, the section is not shown. XAA is a separate authorization route and bypasses both third-party access gates: the organization-level third_party_client_access policy and the connection-level use_for_third_party_client_access setting.

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
hideProvisioningTabbooleanHide the Provisioning (SCIM) tab. Default: false
hideDomainsTabbooleanHide the Domains tab. Default: false
hideDeleteProviderbooleanHide the delete provider action. Default: false
hideRemoveFromOrganizationbooleanHide the remove from organization action. Default: false
hideAttributeMappingsbooleanHide the attribute mappings 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>Permanently delete the provider from the tenant.
deleteFromOrganizationActionComponentAction<IdentityProvider>Remove provider from the organization without deleting it from the tenant.
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. 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

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 lists the verified domains assigned to the provider, and users can remove a domain or assign more from an Assign Domain(s) dialog. A domain can be assigned to only one connection, so the dialog lists only verified domains that aren’t associated with any connection. To create or verify domains, use the DomainTable component.
ActionTypeDescription
associateToProviderActionComponentAction<Domain, IdentityProvider | null>Assign a domain to the provider.
deleteFromProviderActionComponentAction<Domain, IdentityProvider | null>Remove a domain from the provider.
domains.associateToProviderActionType: ComponentAction<Domain, IdentityProvider | null>Runs once for each domain selected in the Assign Domain(s) dialog. The dialog closes when every selected domain is assigned. If any assignment fails, the dialog stays open.Example:

domains.deleteFromProviderActionType: ComponentAction<Domain, IdentityProvider | null>Runs when a user removes a domain from the provider with the remove button in the table. The domain is removed immediately, without a confirmation dialog. Use onBefore to add your own confirmation.Example:

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.
resolveSamlMetadata(params: { connectionName: string }) => { entityId: string }Supplies the SP Issuer URN (Service Provider Entity ID) for the read-only SAML metadata field.
showSignRequestbooleanShows or hides the SAML request signing fields. Defaults to true.
SP metadata fieldsThe SAML connection’s edit view displays four read-only, copyable Service Provider (SP) metadata fields that administrators paste into their identity provider (IdP): Callback URL, ACS URL, SP Metadata URL, and SP Issuer URN. The first three are computed automatically from your tenant domain and the connection name. They require no configuration. Auth0 Universal Components cannot derive your tenant name, so the host supplies the SP Issuer URN (Entity ID) through the resolveSamlMetadata prop.resolveSamlMetadataOptional. Returns the SP Issuer URN shown in the read-only SAML metadata field. The callback receives { connectionName } and returns { entityId }:
When omitted, the URN falls back to urn:auth0:<tenant-derived-from-domain>:<connectionName>. The callback returns an object, not a string, so Auth0 can add more SP fields later without a breaking change. Only entityId is used.
showSignRequestOptional. Controls whether the SAML configuration shows the Sign Request checkbox in Advanced Settings, along with the Sign Request Algorithm and Sign Request Algorithm Digest fields. Defaults to true. Set it to false to hide these fields. The Advanced Settings section and the Request Protocol Binding field remain visible.
Hiding the fields doesn’t change the connection’s request signing setting. If request signing is enabled on an existing connection, it stays enabled when an administrator saves changes. This prop applies only to SAML connections. It doesn’t affect PingFederate connections.
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 and content
  • tabs.sso.name—SSO tab label
  • tabs.sso.content—SSO tab messages
    • details.third_party_access—title, label, helper_text
    • details.cross_app_access—title, label, helper_text, domain_verification_text, saml_description, saml_discovery_url_label, saml_discovery_url_placeholder, saml_discovery_url_helper
    • title, description
    • fields.*—Form field labels by strategy. For SAML, fields.samlp includes the read-only SP metadata fields Auth0 computes for administrators to copy into their IdP:
      • fields.samlp.callback_url—label, helper_text (read-only Callback URL)
      • fields.samlp.acs_url—label, helper_text (read-only ACS URL)
      • fields.samlp.sp_metadata_url—label, helper_text (read-only SP Metadata URL)
      • fields.samlp.sp_issuer_urn—label, helper_text (read-only SP Issuer URN / Entity ID)
    • actions.save_button_text, actions.delete_button_text
    • delete_modal.*, remove_modal.*
  • tabs.provisioning.name—Provisioning tab label
  • tabs.domains.name—Domains tab label
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
tabs.domains.content—Domains tab
  • title, description, create_button_text
  • table.empty_message, table.columns.name, table.columns.status
  • table.actions.remove_domain_tooltip, table.actions.remove_domain_aria_label
  • table.domain_statuses.pending, table.domain_statuses.verified, table.domain_statuses.failed
  • domain_assign—Assign Domain(s) dialog
    • title, description
    • field.label, field.placeholder, field.helper_text, field.empty_message
    • learn_more.text, learn_more.link_text
    • actions.cancel_button_text, actions.assign_button_text
    • success, error—notifications after assigning domains
  • domain_associate_provider.success, domain_delete_provider.success—notifications after assigning or removing a domain
notifications—API responses
  • provider_update_success, provider_delete_success
  • provisioning_enable_success, provisioning_disable_success
  • scim_token_create_success, scim_token_delete_success

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
  • ProviderConfigure-ThirdPartyAccess
  • ProviderConfigure-CrossAppAccess

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.
HookDescription
useSsoProviderEditProvider loading and update logic
useSsoDomainTabDomain association management