Logout of Auth0 as IdP using Organization

Hi,

We have a scenario where we are using the Organizations feature and have different organizations connected with different identity providers. To keep things simple, lets say we only support two connections - Microsoft Azure AD and SAML to another Auth0 tenant.

We would like to log the user out of the identity provider only if the connection type is SAML to another Auth0 tenant. We do not want to log them out if the connection type is Microsoft Azure AD.

Is this possible? Passing the federated flag would log out of each of them

If it is not possible, is there a way a user can logout of a tenant themselves?

Thanks