# Error after logout

**URL:** <https://community.auth0.com/t/error-after-logout/43205>\
**Category:** Get Help\
**Tags:** returnto, logout, auth0\
**Created:** [May 18, 2020, 4:15pm UTC](https://community.auth0.com/t/error-after-logout/43205 "2020-05-18T16:15:08Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![winternina](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/winternina/32/21354_2.png) [@winternina](https://community.auth0.com/u/winternina)\
**Post date:** [May 18, 2020, 4:15pm UTC](https://community.auth0.com/t/error-after-logout/43205/1 "2020-05-18T16:15:08Z")

</div>

Hello,

I’m having trouble redirecting after the logout, using universal login. The error message is:

> The “returnTo” querystring parameter “…” 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)

But I have the URL defined in the configuration and tried several ways, with slash at the end, no slash, etc.

Any idea? Thank you!

Tracking ID 6d87be5d39ea059da912

---

<div class="post-metadata">

**Author:** ![mark14](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mark14/32/13573_2.png) [@mark14](https://community.auth0.com/u/mark14)\
**Post date:** [May 18, 2020, 8:17pm UTC](https://community.auth0.com/t/error-after-logout/43205/2 "2020-05-18T20:17:13Z")

</div>

Ditto.  
Just started with me too ☹

I have the allowed logout URLs set, also tried every combination. I was sure this worked the other day

---

<div class="post-metadata">

**Author:** ![karen.bermudez](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/karen.bermudez/32/28446_2.png) [@karen.bermudez](https://community.auth0.com/u/karen.bermudez)\
**Post date:** [May 18, 2020, 8:32pm UTC](https://community.auth0.com/t/error-after-logout/43205/3 "2020-05-18T20:32:36Z")

</div>

Hello @winternina, welcome to our Community!

Have you configured the allowed logout url in the advanced settings AND the application settings?

It would be nice if you could share some screenshots of what you are experiencing.

Thanks!

---

<div class="post-metadata">

**Author:** ![winternina](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/winternina/32/21354_2.png) [@winternina](https://community.auth0.com/u/winternina)\
**Post date:** [May 19, 2020, 8:00am UTC](https://community.auth0.com/t/error-after-logout/43205/4 "2020-05-19T08:00:10Z")

</div>

Thank you for your quick response. I only configured the URL in den applications settings, see the screenshot. Where can I find the other setting?

 ![Application_Details](https://global.discourse-cdn.com/auth0/original/3X/3/d/3d706b585e995cebc0835791526e2c8eec50f331.png)

---

<div class="post-metadata">

**Author:** ![winternina](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/winternina/32/21354_2.png) [@winternina](https://community.auth0.com/u/winternina)\
**Post date:** [May 19, 2020, 11:20am UTC](https://community.auth0.com/t/error-after-logout/43205/5 "2020-05-19T11:20:11Z")

</div>

Ahhh, found it!

The URL needs to be added in “Tenant Settings” \> “Advanced” as well.

---

<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:** [May 19, 2020, 12:05pm UTC](https://community.auth0.com/t/error-after-logout/43205/6 "2020-05-19T12:05:14Z")

</div>

Perfect! Glad you have figured it out!

---

<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:** [June 3, 2020, 12:05pm UTC](https://community.auth0.com/t/error-after-logout/43205/7 "2020-06-03T12:05:19Z")

</div>

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