Configure Single Logout with Microsoft ADFS
The ADFS identity provider supports the Single logout, so you can set up SAML single logout (SLO).
When a user initiates a logout, the identity provider logs the user out of all applications in the current identity provider login session. The logout could be service provider initiated or identity provider initiated.
Prepare LogicalDOC
- Enable the SAML Single Logout in Administration > Security > SAML Single Sign-On
- Enable the encryption of the Logout requests and responses
Click on Save to confirm all the configuration.
Now you completed the LogicalDOC's configuration and can approach the setup of ADFS.
Add the Logout endpoint
-
Open the ADFS management snap-in, then select AD FS > Relying Party Trusts. Here, right-click on LogicalDOC and choose Properties, then move to the Endpoints tab.
-
Here, click on Add SAML... to add a new Logout endpoint, as Trusted URL put the LogicalDOC's base URL followed by the /saml/logout suffix and as Response URL put the LogicalDOC's base URL followed by the /saml/slo suffix
-
You now created the new endpoint for the logout
Click the OK button to confirm.
Test the Logout
In order to test if all was correctly configured, you may do this:
- Login into one of the applications connected to the same ADFS
- Then enter the LogicalDOC's Single Sign-on login page
- Once inside LogicalDOC, press the logout button
- Now, check that you are now logged out from all the other applications also