Skip to main content
You can customize your assertions as well as the SAML and WS-Federation protocol parameters.

Auth0 as identity provider

Customize SAML assertions when Auth0 acts as the by configuring the addon in the Dashboard or by using rules.

Use the Dashboard

  1. Go to Dashboard > Applications > Applications and select the name of the application to view.
  2. Select the Addons tab.
  3. Enable SAML2 Web App toggle to view settings and options.
    Dashboard Applications Applications Addons Tab SAML2 Web App Settings Tab
  4. In the Settings tab, you can make several types of customizations, such as:
    • Specify an audience other than the default issuer of the SAML request.
    • Specify a recipient.
    • Map profile attributes to specific attribute statements.
    • Change the signature or digest algorithm.
    • Specify whether just the assertion or the entire response should be signed.

Use Actions

You can use Actions to add more extensive or dynamic customizations to the SAML response. Customizations made in Actions override customizations done using the Application Addons view in the Dashboard. The api.samlResponse object is used to override default SAML attributes or add new attributes.

Example: Changing the SAML token lifetime and use UPN as NameID

Example: Include user_metadata attributes in an assertion

SAML assertion attributes

The following is a list of customization attributes for SAML assertions.

Learn more