Using Auth0 with a SAML2 Web App

You can configure a SAML2 Web Application for use with an Auth0 Client via the Management Dashboard.

Enable the SAML2 Web App Addon for your Auth0 Client

  1. Log in to Auth0, and navigate to the Clients page of the Management Dashboard.

  1. Identify the Client with which you want to use a SAML2 Web Application. Click the Client's name to go to its configuration settings pages.
  2. Go to the Addons page for the Client.

  1. In the SAML2 Web App box, click the slider to enable the Addon. You will see a Settings page for the Addon.

  1. To enable the Addon from the Auth0 side, you will need to provide you Application Callback URL, which receives the SAML response, as well as the Settings for your setup. Within the Settings page, there is a sample object that you can use when determining which settings you want to enable:
// "audience":  "urn:foo",
// "recipient": "http://foo",
// "mappings": {
//   "user_id":     "",
//   "email":       "",
//   "name":        "",
//   "given_name":  "",
//   "family_name": "",
//   "upn":         "",
//   "groups":      ""
// },
// "createUpnClaim":       true,
// "passthroughClaimsWithNoMapping": true,
// "mapUnknownClaimsAsIs": false,
// "mapIdentities":        true,
// "signatureAlgorithm":   "rsa-sha1",
// "digestAlgorithm":      "sha1",
// "destination":          "http://foo",
// "lifetimeInSeconds":    3600,
// "signResponse":         false,
// "typedAttributes":      true,
// "includeAttributeNameFormat":  true,
// "nameIdentifierFormat": "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified",
// "nameIdentifierProbes": [
//   "",
//   "",
//   ""
// ],
// "authnContextClassRef": "urn:oasis:names:tc:SAML:2.0:ac:classes:unspecified",
// "logout": {
//   "callback": "http://foo/logout"
// }

You can click Debug to test if your provided parameters are valid.

Click Save when done.

Provide Your Auth0 Client Details to Your SAML2 Web App

While the specific steps for providing your Auth0 Client details to your SAML2 Web App will vary, you can get the configuration information you need from the Usage tab after you have set up the Addon from the Auth0 side.

Was this article helpful?