returnTo inside Allowed Logout URLs not working

Hi I have used
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” 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
TRACKING ID: f74ae22fb8d2ee3d9849

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?

This 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"

1 Like