# Redirecting users to logout URL does not logout users

**URL:** <https://community.auth0.com/t/redirecting-users-to-logout-url-does-not-logout-users/76836>\
**Category:** Get Help\
**Tags:** api, login, auth0\
**Created:** [January 21, 2022, 9:43pm UTC](https://community.auth0.com/t/redirecting-users-to-logout-url-does-not-logout-users/76836 "2022-01-21T21:43:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lucas6](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lucas6/32/33884_2.png) [@lucas6](https://community.auth0.com/u/lucas6)\
**Post date:** [January 21, 2022, 9:43pm UTC](https://community.auth0.com/t/redirecting-users-to-logout-url-does-not-logout-users/76836/1 "2022-01-21T21:43:12Z")

</div>

I have an app, and marketplace on two subdomains, and I’m trying to setup a button on the marketplace that will allow users to log out of the app. According to these docs:

> [First](https://auth0.com/docs/authenticate/login/logout/log-users-out-of-auth0)  
> [Second](https://auth0.com/docs/api/authentication?http#introduction)

I should be able to redirect users from the marketplace to this URL, and it will logout of the app since SSO cookies have been cleared.

So right now I have users redirected following this pattern:

```auto
https://YOURTENANT.auth0.com/v2/logout?returnTo=YOURAUTHORIZEDLOGOUTURL&client_id=THECLIENTIDFORYOURAPPLICATION 

```

and I get a 302, however users are not being logged out of the app.

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [January 21, 2022, 11:25pm UTC](https://community.auth0.com/t/redirecting-users-to-logout-url-does-not-logout-users/76836/3 "2022-01-21T23:25:21Z")

</div>

Hi @lucas6,

Welcome to the Auth0 Community!

I have just tested the logout endpoint and did not find the same observations as you. Instead, I managed to log the user out successfully.

In this case, could you please clarify whether you can see if the user has logged out in your Auth0 Dashboard Logs?

And, if the behavior persists, could you[please capture a HAR file](https://auth0.com/docs/troubleshoot/troubleshooting-tools/generate-and-analyze-har-files) of the complete auth pipeline from login to logout and DM it to me?

Thank you.

---

<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:** [February 5, 2022, 11:25pm UTC](https://community.auth0.com/t/redirecting-users-to-logout-url-does-not-logout-users/76836/4 "2022-02-05T23:25:25Z")

</div>

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