I end up doing it manually .
const handleLogout = () => {
logout();
window.location.href = config.AUTH0_LOGOUT_URL;
};
Logout Url has this sintax
https://yourAppName.us.auth0.com/v2/logout?client_id=YOUR_AUTH0_CLIENT_ID&returnTo=YOUR_RETURN_URL