I have the following…
const {isAuthenticated, idTokenClaims, loginWithRedirect, isLoading, logout} = auth0.useAuth0();
const tab = ref('home');
const searchText = ref('');
const onLogout = ()=>{
logout({
returnTo: window.location.origin
})
}
But when it logs out it gets returned to https://localhost
instead of https://localhost:8080
which is what it was originally on. Here is the logout message…
https://auth.purepm.dev/v2/logout?isTrusted=true&client_id=...&auth0Client=...=
Why is it not adding it and how do I add it?