Wordpress & Azure Logout issue

Hi there,

I seem to be unable to workout how to log users out from the Identity Provider, in my case I have setup Wordpress and Azure.

Single logout is enabled, but it doesn’t seem to log users out completely using the Wordpress logout link. Please could you assist?

In order to trigger logout from external Identity Providers, you’ll need to add the federated parameter to the Auth0 logout URL.

In Wordpress, you can modify the Auth0 logout URL with the auth0_logout_url filter. Something like this:

function auth0_hook_logout_url ($redirect_to) {
    return $redirect_to . '&federated';
}

add_filter('auth0_logout_url', 'auth0_hook_logout_url');

Here are some articles for reference: