"Not Found" on Logout from Zoho Sites

I have set up the login for Zoho Sites and am being redirected to the login and it’s working as intended, but when I go to the logout it just says “Not Found”. After that it does log me out because when I open my website again I am no longer logged in. I don’t understand why this is happening, I have added my homepage to the allowed URLs and am passing the redirctTo=&client_ID= as well.

Hi @development7

Welcome to the Auth0 Community!

Based on the details provided, I believe that the logout URL is not defined correctly, which leads to a successful logout/session end, but not a correct redirection.

I would advise that you double-check the logout URL where you want your app to direct you to after the logout process is completed and make sure it matches exactly. If you want to land on the " https://mypage.come " site for example, any slight difference such as " http " instead of " https ", having/not having " www " etc. can create the behaviour that you are seeing.

Depending on how the connections has been established between your Auth0 tenant and your Zoho instance, you can read more on the logout process in the appropriate section of Logout.

Hope this helped!
Gerald

Hi @gerald.czifra, Thank you for the response,

My URL is currently: https://my-domian.us.auth0.com/v2/logout?returnTo=https%3A%2F%2Fevents-evoluz.zohosites.in&client_id=

I tried it with http and https and it worked with both but if I enter www. I get a security error

By worked I mean on clicking the logout option I was taken to this page:

Once on this screen if I just click on the URL and hit enter it logs me out. I was observing the console when doing as well and turns out I’m getting a 404 error but after I just select the URL and run it again it works as Intended

Hi @development7

Thank you for your reply!

This does seem like a weird behaviour, within the URL you are adding the client_id at the end, correct? I’m just double-checking in case there are these small things missing, so based on what you’ve provided, the URL should be : https://my-domian.us.auth0.com/v2/logout?returnTo=https%3A%2F%2Fevents-evoluz.zohosites.in&client_id=YOUR_CLIENT_ID format : https://{yourDomain}/v2/logout?returnTo=http%3A%2F%2Fwww.example.com&client_id={clientId}More information can be found here Redirect Users with Alternative Logout on the topic.

Let me know if the client_id is provided in the URL ( and you just subtracted it here ) and I will look around for more information on what the cause can be. As long as the destination logout URL value in Auth0 matches the one on Zoho, things should be working correctly.

By any chance, is the Connection a SAML or OIDC one? The URL that you are using is for a SAML Connection and in case you would instead need an OIDC URL, you would need to use oidc/logout, as mentioned in this documentation on how to Log Users Out of Auth0 with OIDC Endpoint.

These additional resources could help troubleshoot the issue, but I’ll be waiting for your input as well:

Best regards,
Gerald