Auth0 multiple SAML add-ons

I’m using an Auth0 application with SAML add-on enabled for an application which has multiple service providers. (Service providers are not configured in Auth0).

I’m getting the below error when submitting a LogoutRequest.

No active session(s) found matching LogoutRequest

SAML add on configuration

"mappings": {
"user_id": "",
"email": "",
"name": "",
"given_name": "",
"family_name": "",
"upn": "",
"groups": ""
"createUpnClaim": true,
"passthroughClaimsWithNoMapping": true,
"mapUnknownClaimsAsIs": false,
"mapIdentities": true,
"signatureAlgorithm": "rsa-sha1",
"digestAlgorithm": "sha1",
"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": "",
"slo_enabled": true
"binding": "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST"

Note that audience , recipient and destination parameters are not set because I have multiple service providers with different URLs. Therefor those values will be taken from the request itself (according to the documentation). However I believe Auth0 compares the issuer value in the logout request with the audience value in the config. In my case there’s no audience value in the config.

I was told that

If you have multiple service providers you should create an application with the SAML add-on for each of them.

My question is can I create multiple SAML add ons for one application? If not how can I create multiple applications with same metadata.xml (with same login URL)? Because my application supports only one IDP.


Hello @ylokuge and welcome to the Auth0 Community!! :tada:

The advice you were given sounds correct, you can only have one SAML Add on per application.

I’m hoping you could explain this a bit more, are you creating these applications programmatically and not through the dashboard? What errors are you encountering when configuring separate applications with the same SAML Add on?

Best Regards,

1 Like

Hi @colin.coutts,

Thanks for the reply. I have created multiple applications for different service providers as you suggested and login flow seems to be working fine. And also in the logout flow GET request from SP to IDP works fine. However the POST request from IDP to SP fails due to certificate mismatch issue. After decoding the logout request I found out that certificate used is different to what’s in the IDP metadata.xml. Can you please explain this mismatch and suggest a solution for that?


Hi @ylokuge,

Would you mind capturing the login/logout interaction in a .har file so I can try to see what’s happening? You can send it to me in a DM for me to review, details on capturing a .har can be found here:

Did the certificate you noticed belong to a different IDP that you had configured? Does your IdP provide any logging, if so are there any meaningful logs around this failed SLO? It’s hard to say what could be going wrong from the description, hopefully a .har file will provide a bit more context.

Best Regards,