# SAML, SLO not working for me

**URL:** <https://community.auth0.com/t/saml-slo-not-working-for-me/118113>\
**Category:** Get Help\
**Tags:** protocols, saml\
**Created:** [October 9, 2023, 4:16pm UTC](https://community.auth0.com/t/saml-slo-not-working-for-me/118113 "2023-10-09T16:16:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![johan.eggers](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/johan.eggers/32/59823_2.png) [@johan.eggers](https://community.auth0.com/u/johan.eggers)\
**Post date:** [October 9, 2023, 4:16pm UTC](https://community.auth0.com/t/saml-slo-not-working-for-me/118113/1 "2023-10-09T16:16:47Z")

</div>

Hi,

I am trying to use the SAML SLO endpoint.  
I am using the npm library ‘saml2-js’, which nicely constructed this SAML slo token / request:

 ![image](https://global.discourse-cdn.com/auth0/original/3X/9/4/941b66225fb4c00a0d7dd9094c4fe3674afe3ee8.png)

Calling this url in the browser is successful and in the monitoring I get this event:

 ![image](https://global.discourse-cdn.com/auth0/original/3X/9/3/93dac863ff34c7ec3989d1e5fc27c4975c1198ec.png)

Seems like my user does not get logged out.

Is the SLO request missing some information ? For example is the session\_id required ? If yes, how to get the session id ?

Appreciate any help on this!

May be similar to [No active session(s) found matching LogoutRequest - SAML - Node - SAML2-JS](https://community.auth0.com/t/no-active-session-s-found-matching-logoutrequest-saml-node-saml2-js/54243) .

---

<div class="post-metadata">

**Author:** ![johan.eggers](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/johan.eggers/32/59823_2.png) [@johan.eggers](https://community.auth0.com/u/johan.eggers)\
**Post date:** [October 10, 2023, 7:13am UTC](https://community.auth0.com/t/saml-slo-not-working-for-me/118113/2 "2023-10-10T07:13:49Z")

</div>

Ok, I had to use the custom domain instead of “[https://dev-xyz.eu.auth0.com](https://dev-xyz.eu.auth0.com)”.  
Then it can find my user but auth0 can not find an active session to logout. How can that be ?  
I logged in a minute before requesting the SLO. The session is also mentioned in the rawData…

 ![image](https://global.discourse-cdn.com/auth0/original/3X/e/1/e127232f417ea034197795ac4ec586718a67e940.png)

---

<div class="post-metadata">

**Author:** ![johan.eggers](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/johan.eggers/32/59823_2.png) [@johan.eggers](https://community.auth0.com/u/johan.eggers)\
**Post date:** [October 10, 2023, 7:47am UTC](https://community.auth0.com/t/saml-slo-not-working-for-me/118113/3 "2023-10-10T07:47:04Z")

</div>

Solved by myself, the issuer was wrong. It has to match the issuer which was used in the login.  
Now it is working ☀ .

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [October 24, 2023, 7:47am UTC](https://community.auth0.com/t/saml-slo-not-working-for-me/118113/4 "2023-10-24T07:47:34Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
