I solved this, apparently with auth0-spa-js you need to add a top level logoutParams:
auth0Client?.logout({logoutParams:{returnTo: window.location.origin}});
I solved this, apparently with auth0-spa-js you need to add a top level logoutParams:
auth0Client?.logout({logoutParams:{returnTo: window.location.origin}});