hello - i am trying to log out and run into an error. i am following this code:
$auth0->logout();
$return_to = 'http://' . $_SERVER['HTTP_HOST'];
$logout_url = sprintf('http://%s/v2/logout?client_id=%s&returnTo=%s', 'dev-y-wc5m4m.auth0.com', '0Zo1EL8n2KZZ1mjqwCVYQh6zSvCxtXo4', $return_to);
header('Location: ' . $logout_url);
which redirects me to this page:
but i see the following error:
dev-y-wc5m4m
Oops!, something went wrong
There could be a misconfiguration in the system or a service outage. We track these errors automatically, but if the problem persists feel free to contact us.
Please try again.
i tried changing the “http://” to “https://” and including “encodeurl()” in the return value with no success.