# Don't show valid logout URLs

**URL:** <https://community.auth0.com/t/dont-show-valid-logout-urls/7915>\
**Category:** Get Help\
**Tags:** error, callback-urls, logout\
**Created:** [August 21, 2017, 7:26pm UTC](https://community.auth0.com/t/dont-show-valid-logout-urls/7915 "2017-08-21T19:26:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jochen](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@jochen](https://community.auth0.com/u/jochen)\
**Post date:** [August 21, 2017, 7:26pm UTC](https://community.auth0.com/t/dont-show-valid-logout-urls/7915/1 "2017-08-21T19:26:27Z")

</div>

When calling “/logout” and giving an invalid “returnTo” parameter, the valid “returnTo” URLs (empty in this case) are show in the error message (not only in the HTML, but also as a URL parameter for the error page):

> The “returnTo” querystring parameter “[https://xxx](https://xxx)” is not defined as a valid URL in “Allowed Logout URLs”. Valid values are: (The list is empty). To add a new URL, please do it here: [https://manage.auth0.com/#/applications](https://manage.auth0.com/#/applications)

Is there a way to turn the display of the valid “returnTo” URLs off?

---

<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:** [March 2, 2018, 5:56am UTC](https://community.auth0.com/t/dont-show-valid-logout-urls/7915/2 "2018-03-02T05:56:02Z")

</div>



---

<div class="post-metadata">

**Author:** ![lihua.zhang](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lihua.zhang/32/39683_2.png) [@lihua.zhang](https://community.auth0.com/u/lihua.zhang)\
**Post date:** [January 14, 2023, 1:15am UTC](https://community.auth0.com/t/dont-show-valid-logout-urls/7915/3 "2023-01-14T01:15:13Z")

</div>

[This](https://community.auth0.com/t/redirect-users-after-logout/89786) FAQ explains the cause and solution for the below error, so link it to this topic.

`invalid_request: The "returnTo" querystring parameter "[https://YOUR_URL"](https://YOUR_URL)" is not defined as a valid URL in "Allowed Logout URLs"`
