@@ -103,6 +103,8 @@ Note that when [integrating with Devise](#devise-integration), the URL path will
103103 instance will be passed to this callable if it has an arity of 1. If the value is a string,
104104 the string will be returned, when the ` RelayState ` is called. Optional.
105105
106+ * ` :slo_enabled ` - Enables or disables Single Logout (SLO). Set to ` false ` to disable SLO. Defaults to ` true ` . Optional.
107+
106108* ` :idp_sso_service_url_runtime_params ` - A dynamic mapping of request params that exist
107109 during the request phase of OmniAuth that should to be sent to the IdP after a specific
108110 mapping. So for example, a param ` original_request_param ` with value ` original_param_value ` ,
@@ -112,7 +114,7 @@ Note that when [integrating with Devise](#devise-integration), the URL path will
112114* ` :idp_cert ` - The identity provider's certificate in PEM format. Takes precedence
113115 over the fingerprint option below. This option or ` :idp_cert_multi ` or ` :idp_cert_fingerprint ` must
114116 be present.
115-
117+
116118* ` :idp_cert_multi ` - Multiple identity provider certificates in PEM format. Takes precedence
117119over the fingerprint option below. This option ` :idp_cert ` or ` :idp_cert_fingerprint ` must
118120be present.
@@ -192,7 +194,9 @@ Single Logout can be Service Provider initiated or Identity Provider initiated.
192194For SP initiated logout, the ` idp_slo_service_url ` option must be set to the logout url on the IdP,
193195and users directed to ` user_saml_omniauth_authorize_path + '/spslo' ` after logging out locally. For
194196IdP initiated logout, logout requests from the IdP should go to ` /auth/saml/slo ` (this can be
195- advertised in metadata by setting the ` single_logout_service_url ` config option).
197+ advertised in metadata by setting the ` single_logout_service_url ` config option). If you wish to
198+ disable Single Logout entirely (both SP and IdP initiated), set ` :slo_enabled => false ` ; the ` /auth/saml/slo `
199+ and ` /auth/saml/spslo ` endpoints will then respond with HTTP 501 Not Implemented.
196200
197201When using Devise as an authentication solution, the SP initiated flow can be integrated
198202in the ` SessionsController#destroy ` action.
0 commit comments