Log out doesn’t work properly and automatically signs in user

Hi All, I am having an issue with the logout part of the application… I am using my Application with auth0-js, the login section is working fine, but when I try to logout I am following the docs https://auth0.com/docs/logout. Its goes to the application. In my logout function i am removing the AuthToken from the local storage. and also calling the logout function of the Auth0 by using the client Id.

I moved to new tenant and in my application there is no option available to enable SSO “Use Auth0 instead of the IdP to do Single Sign On”.

Any help is appreciated!