From c271a3771b9e866a62dabceb9e3854307b4dc4d1 Mon Sep 17 00:00:00 2001 From: rko Date: Tue, 6 Oct 2020 13:55:52 +0200 Subject: [PATCH] fix: add options to logout_request initialization This closes #194 --- lib/omniauth/strategies/saml.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/omniauth/strategies/saml.rb b/lib/omniauth/strategies/saml.rb index bbee4af3..cd527eb5 100644 --- a/lib/omniauth/strategies/saml.rb +++ b/lib/omniauth/strategies/saml.rb @@ -177,7 +177,7 @@ def handle_logout_response(raw_response, settings) end def handle_logout_request(raw_request, settings) - logout_request = OneLogin::RubySaml::SloLogoutrequest.new(raw_request) + logout_request = OneLogin::RubySaml::SloLogoutrequest.new(raw_request, {}.merge(settings: settings).merge(get_params: @request.params)) if logout_request.is_valid? && logout_request.name_id == session["saml_uid"]