Single Logout in SAP Commerce
Single Logout (SLO) allows users to log out from a single application and be automatically logged out from other applications.
Single Logout
The samlsinglesignon extension supports the following SLO scenarios:
-
service provider initiated - when you log out of your application, the service provider sends the saml2:LogoutRequest message to the SLO service endpoint that is exposed by your identity provider. The identity provider then completes the logout and sends the saml2:LogoutResponse message back to the service provider.
-
identity provider initiated - when you log out from your identity provider, the identity provider sends the saml2:LogoutRequest message to the SLO service endpoint that is exposed by your application. The service provider then completes the logout and sends the saml2:LogoutResponse message back to the identity provider.
Single Logout Configuration
-
Make sure that you have correctly configured bindings for SLO services in your identity provider and in the metadata file that is delivered by the identity provider.
-
For the service provider initiated SLO - the samlsinglesignon extension exposes the logout filter endpoint under saml/logout/**. To enable SLO, ensure that any requests that are sent to this endpoint contain the local request parameter set to false, for example /../samlsinglesignon/saml/logout?local=false. To disable SLO, change this parameter to true.
-
For the identity provider initiated SLO - no additional configuration is required. The samlsinglesignon extension exposes the SLO service endpoint by default. The endpoint is configured to handle saml2:LogoutRequest requests.
For more information on bindings and endpoints, see Endpoints Configuration and Bindings.