I’m trying to add a SAML integration with tableau but I’m getting an error which I’m confused by:
SAML message intended destination endpoint did not match recipient endpoint
I’m generally following the tableau and auth0 instructions:
https://onlinehelp.tableau.com/current/online/en-us/saml_config_site.htm
https://auth0.com/docs/protocols/saml/saml-apps/tableau-server
Here’s what I did:
-
Log in to Tableau Online: https://us-east-1.online.tableau.com/#/site/mysite
-
Click on Settings → authentication
-
Click “Enable an additional authentication method” and select “SAML”
-
Log in to Auth0 in another tab
-
Under the Addons tab in the Application, enable “SAML2”
-
Click on “Usage” and download “Identity Provider Metadata”
-
Upload this XML file under Tableau “Import metadata into Tableau Online”.
-
The Idp entity is ID = urn:mysite.auth0.com and
SSO Service URL = https://mysite.auth0.com/samlp/somebiglongstring -
Configured the callback url as per the “Assertion Consumer Service URL” from the Tableau Authentication page (Note: this is different from the Auth0 documentation.):
https://sso.online.tableau.com/public/sp/SSO?alias=[somealias]
I suspect that this configuration is the issue:
{
"audience": "urn:mysite.auth0.com",
"recipient": "https://us-east-1.online.tableau.com/wg/saml/SSO/index.html",
"mappings": {
"email": "username"
},
"createUpnClaim": false,
"passthroughClaimsWithNoMapping": false,
"mapUnknownClaimsAsIs": false,
"mapIdentities": false,
"signatureAlgorithm": "rsa-sha1",
"digestAlgorithm": "sha1",
"destination": "https://us-east-1.online.tableau.com/wg/saml/SSO/index.html",
"lifetimeInSeconds": 3600,
"signResponse": false,
"nameIdentifierFormat": "urn:oasis:names:tc:SAML:2.0:attrname-format:basic",
"nameIdentifierProbes": [
"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name"
]
}
When I load the embedded graph and click “Sign in to Tableau Online”, the popup window cycles through several screens, ending in "The sign-in was unsuccessful. Try again. The tableau log tells me this:
2018-05-24T19:18:22.579Z | ERROR | requestId=[WvoulhF9Kv], url=[/public/sp/SSO], status=[401], cause=[Incoming SAML message is invalid; caused by: SAML message intended destination endpoint did not match recipient endpoint], displayableMessage=[null], exceptionClass=[null]
2018-05-24T19:18:19.388Z | INFO | SAML operation: AuthNRequest
I’m not sure what this means—none of the url terminology seems to match up so I’m confused about what URL goes where.
Thanks,
-Mike