How to achieve multi tenant logout?

In our application setup, we have a sub-tenant to which our application is connected and a main tenant which enables Universal Login for all sub-tenants.
We can log in successfully to both tenants (sub-tenant forwards request to the main tenant) but in case of log out, the session is not getting deleted from the main tenant.
How to achieve this?

Hi @preeti_maurya,

You should be able to do this by using the federated parameter on your logout request:

https://YOUR_DOMAIN/v2/logout?federated

More details are here: https://auth0.com/docs/logout/guides/logout-idps

This should log you out of both the tenant acting as SP and the IDP tenant.

1 Like