# Allowed Logout URL not recognized -- Going through Auth0 Ruby on Rails SDK Quickstart:

**URL:** <https://community.auth0.com/t/allowed-logout-url-not-recognized-going-through-auth0-ruby-on-rails-sdk-quickstart/40475>\
**Category:** Get Help\
**Tags:** ruby\
**Created:** [April 3, 2020, 3:47pm UTC](https://community.auth0.com/t/allowed-logout-url-not-recognized-going-through-auth0-ruby-on-rails-sdk-quickstart/40475 "2020-04-03T15:47:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![pdbradley](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/pdbradley/32/20286_2.png) [@pdbradley](https://community.auth0.com/u/pdbradley)\
**Post date:** [April 3, 2020, 3:47pm UTC](https://community.auth0.com/t/allowed-logout-url-not-recognized-going-through-auth0-ruby-on-rails-sdk-quickstart/40475/1 "2020-04-03T15:47:56Z")

</div>

I’m going through the [[https://auth0.com/docs/quickstart/webapp/rails/01-login](https://auth0.com/docs/quickstart/webapp/rails/01-login)]([http://Ruby](http://Ruby) on Rails Auth0 SDK quickstart) and the only thing that isn’t working is the whitelisting of the URL that should be redirected to after a successful logout.

I can log in, and the logout link clears the session, but always brings me here and tells me my returnTo parameter is not defined in “Allowed Logout URLs”:

 ![image](https://global.discourse-cdn.com/auth0/original/3X/5/b/5bce8bc2d51a605df28b02a237f8434ea18fced2.png)

except it clearly IS defined and I’ve tried removing the trailing slash and other silly things. What am I missing here?

 ![image](https://global.discourse-cdn.com/auth0/original/3X/8/a/8ac05b859e4d3a42d82d66802261bc7fd53218a2.png)

thank you for any help. I’d really like to get started with auth0 and this trial run is messin with my vibe. 🙂

---

<div class="post-metadata">

**Author:** ![kstrongholte](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kstrongholte/32/16354_2.png) [@kstrongholte](https://community.auth0.com/u/kstrongholte)\
**Post date:** [April 3, 2020, 4:40pm UTC](https://community.auth0.com/t/allowed-logout-url-not-recognized-going-through-auth0-ruby-on-rails-sdk-quickstart/40475/3 "2020-04-03T16:40:19Z")

</div>

Hi @pdbradley, welcome to the Auth0 community!

Have you tried without the trailing slash? I.e. `http://localhost:3000`

---

<div class="post-metadata">

**Author:** ![pdbradley](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/pdbradley/32/20286_2.png) [@pdbradley](https://community.auth0.com/u/pdbradley)\
**Post date:** [April 3, 2020, 5:06pm UTC](https://community.auth0.com/t/allowed-logout-url-not-recognized-going-through-auth0-ruby-on-rails-sdk-quickstart/40475/4 "2020-04-03T17:06:38Z")

</div>

@kstrongholte I did, and to no avail.

However, I just downloaded the “prefilled” rails app that the tutorial offers (prefilled with my own creds) and…it works. so I must have configured something wrong as I followed the steps. I just went through the one I did by hand and compared it carefully with the pre-filled and I don’t see any difference, but it is there, and I need to pay the price to find it.

So at least I know I’m probably the culprit.

thanks

---

<div class="post-metadata">

**Author:** ![kstrongholte](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kstrongholte/32/16354_2.png) [@kstrongholte](https://community.auth0.com/u/kstrongholte)\
**Post date:** [April 3, 2020, 7:42pm UTC](https://community.auth0.com/t/allowed-logout-url-not-recognized-going-through-auth0-ruby-on-rails-sdk-quickstart/40475/5 "2020-04-03T19:42:28Z")

</div>

No worries! It happens to the best of us.

---

<div class="post-metadata">

**Author:** ![kstrongholte](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kstrongholte/32/16354_2.png) [@kstrongholte](https://community.auth0.com/u/kstrongholte)\
**Post date:** [April 3, 2020, 7:42pm UTC](https://community.auth0.com/t/allowed-logout-url-not-recognized-going-through-auth0-ruby-on-rails-sdk-quickstart/40475/6 "2020-04-03T19:42:34Z")

</div>


