# returnTo inside Allowed Logout URLs not working

**URL:** <https://community.auth0.com/t/returnto-inside-allowed-logout-urls-not-working/15333>\
**Category:** Get Help\
**Created:** [September 12, 2018, 6:52am UTC](https://community.auth0.com/t/returnto-inside-allowed-logout-urls-not-working/15333 "2018-09-12T06:52:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sandeep](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@sandeep](https://community.auth0.com/u/sandeep)\
**Post date:** [September 12, 2018, 6:52am UTC](https://community.auth0.com/t/returnto-inside-allowed-logout-urls-not-working/15333/1 "2018-09-12T06:52:55Z")

</div>

Hi I have used  
[https://testsandy.auth0.com/v2/logout?returnTo=http://localhost:3009](https://testsandy.auth0.com/v2/logout?returnTo=http://localhost:3009)’ in my app  
but it is giving me error:  
the “returnTo” querystring parameter “[http://localhost:3009](http://localhost:3009)” is not defined as a valid URL in “Allowed Logout URLs”. To add a new URL, please do it here: [https://manage.auth0.com/#/account/advanced](https://manage.auth0.com/#/account/advanced)  
TRACKING ID: f74ae22fb8d2ee3d9849

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [August 20, 2019, 9:56am UTC](https://community.auth0.com/t/returnto-inside-allowed-logout-urls-not-working/15333/2 "2019-08-20T09:56:02Z")

</div>

Hey there!

Sorry for such delay in response! We’re doing our best in providing the best developer support experience out there, but sometimes the number of incoming questions is just too big for our bandwidth. Sorry for such inconvenience!

Do you still require further assistance from us?

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [August 26, 2019, 11:01am UTC](https://community.auth0.com/t/returnto-inside-allowed-logout-urls-not-working/15333/3 "2019-08-26T11:01:40Z")

</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 6, 2023, 9:43pm UTC](https://community.auth0.com/t/returnto-inside-allowed-logout-urls-not-working/15333/4 "2023-01-06T21:43:01Z")

</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"`
