Using Auth0 with a SAML2 Web App

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

Enable the SAML2 Web App Addon for your Auth0 Application

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

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

  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 your 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 Application Details to Your SAML2 Web App

While the specific steps for providing your Auth0 Application 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.

Passive SAML Requests

Currently, the SAML2 Web App addon does not support passive SAML requests (e.g. where isPassive=true).