# Getting error on logout

**URL:** <https://community.auth0.com/t/getting-error-on-logout/125189>\
**Category:** Get Help\
**Tags:** classic-universal-login-experience, login-experience\
**Created:** [January 19, 2024, 3:04pm UTC](https://community.auth0.com/t/getting-error-on-logout/125189 "2024-01-19T15:04:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlSab](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@AlSab](https://community.auth0.com/u/AlSab)\
**Post date:** [January 19, 2024, 3:04pm UTC](https://community.auth0.com/t/getting-error-on-logout/125189/1 "2024-01-19T15:04:49Z")

</div>

Hello,  
I am getting the bellow error on logout

 ![err details auth0](https://global.discourse-cdn.com/auth0/original/3X/7/f/7f6739a096a39e8290a11ccb369d52ca5a49f2bb.png)

The config is ok, I have checked, the url is addd.  
What might be wrong?

Thanks

---

<div class="post-metadata">

**Author:** ![pavan.bn](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/pavan.bn/32/61674_2.png) [@pavan.bn](https://community.auth0.com/u/pavan.bn)\
**Post date:** [January 19, 2024, 4:26pm UTC](https://community.auth0.com/t/getting-error-on-logout/125189/3 "2024-01-19T16:26:00Z")

</div>

Hi @AlSab,

Thanks for reaching out to Auth0 Community!

Please check this link where similar issue came in community before. [The "returnTo" querystring parameter "..." is not defined as a valid URL in "Allowed Logout URLs"](https://community.auth0.com/t/the-returnto-querystring-parameter-is-not-defined-as-a-valid-url-in-allowed-logout-urls/45615). Hope this helps!

Regards,  
Pavan.

---

<div class="post-metadata">

**Author:** ![AlSab](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@AlSab](https://community.auth0.com/u/AlSab)\
**Post date:** [January 19, 2024, 4:57pm UTC](https://community.auth0.com/t/getting-error-on-logout/125189/4 "2024-01-19T16:57:42Z")

</div>

Thanks Pavan, that works!  
Adding client\_id as a parameter solved the issue.

---

<div class="post-metadata">

**Author:** ![pavan.bn](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/pavan.bn/32/61674_2.png) [@pavan.bn](https://community.auth0.com/u/pavan.bn)\
**Post date:** [January 19, 2024, 5:01pm UTC](https://community.auth0.com/t/getting-error-on-logout/125189/5 "2024-01-19T17:01:21Z")

</div>

Hi @AlSab,

Great to here issue is resolved.

Regards,  
Pavan.

---

<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 2, 2024, 5:01pm UTC](https://community.auth0.com/t/getting-error-on-logout/125189/6 "2024-02-02T17:01:26Z")

</div>

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