# Cannot Logout of SAML identity provider

**URL:** <https://community.auth0.com/t/cannot-logout-of-saml-identity-provider/9177>\
**Category:** Get Help\
**Tags:** logout\
**Created:** [January 11, 2018, 4:57pm UTC](https://community.auth0.com/t/cannot-logout-of-saml-identity-provider/9177 "2018-01-11T16:57:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![it4](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/it4/32/8496_2.png) [@it4](https://community.auth0.com/u/it4)\
**Post date:** [January 11, 2018, 4:57pm UTC](https://community.auth0.com/t/cannot-logout-of-saml-identity-provider/9177/1 "2018-01-11T16:57:31Z")

</div>

I have set up my Auth0 to support SAML2.0 for SSO  
Now I want to implement the single log out on my application. I use the following code

```
this.webAuth.logout({
            clientID: clientID,
            returnTo: 'Login URL',
            federated: true
        })

```

this code run ok and redirected me to the login. But when I access the application which use SAML still not logged out.

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [December 14, 2018, 5:40pm UTC](https://community.auth0.com/t/cannot-logout-of-saml-identity-provider/9177/2 "2018-12-14T17:40:29Z")

</div>

As it has been more than a few months since this topic was opened, and there has been no reply or further information provided as to the existence of the issue, we are closing this topic. Please don’t hesitate to create a new topic if this issue is still present, we would be happy to work with you to help find a resolution.

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [December 14, 2018, 5:40pm UTC](https://community.auth0.com/t/cannot-logout-of-saml-identity-provider/9177/3 "2018-12-14T17:40:31Z")

</div>


