Not able to logout in my app?

I am facing the logout issue on my app and getting the below error ?

Oops!, something went wrong

There could be a misconfiguration in the system or a service outage. We track these errors automatically, but if the problem persists feel free to contact us.
Please try again.

Please contact the systems administrator.

invalid_request: The “returnTo” querystring parameter “:///auth/logout” is not defined as a valid URL in “Allowed Logout URLs”. To add a new URL, please do it here:

i have valid urls but still not able to logout from the app

Hi @gopalgurram,

Welcome to the Auth0 Community!

It looks like you had passed the returnTo=:///auth/logout value in the logout URL.

When looking into your tenant, I can only see as the only URL in your Allowed Logout URLs. Hence, why you have been experiencing issues. You will need to pass returnTo=

Please refer to our Redirect Users with Alternative Logout documentation for more information.


Thanks for the quick replay @rueben.tiow ,
I tried the way you told but the showing the below error

In this below URL:

after i replace the returnTo=%3A%2F%2F%2Fauth%2Flogout to returnTo=
Logout is working

Hi @gopalgurram,

Thanks for following up.

I see in your screenshot that you passed in an invalid URI in your Allowed Logout URLs.

To fix this, you will need to pass in a valid URL, in this case:

Just to clarify, you will need to remove the returnTo= part of the value you passed in.

After that’s done, logging out should work as expected.


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