I called this API on our FE but after logout it redirected to auth0 page with error logout redirect domain is not in allowed domain list (https%3A%2F%2Fmy-domain.us.auth0.com%2Flogout%3FreturnTo%3Dhttp%3A%2F%2Flocalhost%3A3000%2Flogout-successfully).
However when our FE called the api with redirect domain (returnTo=http://localhost:3000) it performed logout successfully but it’s redirect to facebook user home page instead of logging them out.