Skip to content
Snippets Groups Projects
Commit 2a1d3426 authored by Vinoth Kannan's avatar Vinoth Kannan
Browse files

DEV: Logout saml user for IdP initiated logout request

parent 4c0ff95a
No related branches found
No related tags found
No related merge requests found
......@@ -67,7 +67,8 @@ class SamlAuthenticator < ::Auth::OAuth2Authenticator
authn_requests_signed: !!GlobalSetting.try(:saml_authn_requests_signed),
want_assertions_signed: !!GlobalSetting.try(:saml_want_assertions_signed),
signature_method: XMLSecurity::Document::RSA_SHA1
}
},
idp_slo_session_destroy: proc { |env, session| @user.user_auth_tokens.destroy_all; @user.logged_out }
end
def attr(key)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment