Hey all,
I am passing the returnTo parameter to my logout function. However, upon log out the redirect to the logout/v2 endpoint has my client id, but doesn’t specify the return to parameter. It’s not getting set on the logout request… Any insights on why or how this could happen?
const logout = useCallback(async () => {
console.log("auth0 logout called.");
const logoutOptions = {returnTo: "https://app.test.com"};
auth0Client?.logout(logoutOptions);
dispatch({
type: 'LOGOUT',
});
}, []);