Skip to content

Commit

Permalink
fix: add options to logout_request initialization
Browse files Browse the repository at this point in the history
This closes omniauth#194
  • Loading branch information
rko committed Oct 6, 2020
1 parent ee5ea2f commit c271a37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/omniauth/strategies/saml.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit c271a37

Please sign in to comment.