"Audience is invalid" Error in SAML

Problem statement

We have configured a SAML connection. Users are correctly redirected to the idP. But when the SAML response is posted to auth0, users are redirected with the error message “Audience is invalid”.

Solution

  • Request HAR file
  • Look for the Audience value in the SAML response.
  • It has to match the configured value
    urn:auth0:TENANT:CONNECTION