File tree 1 file changed +2
-5
lines changed
1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -10,10 +10,7 @@ def self.inherited(subclass)
10
10
OmniAuth ::Strategy . included ( subclass )
11
11
end
12
12
13
- OTHER_REQUEST_OPTIONS = [
14
- :skip_conditions , :allowed_clock_drift , :matches_request_id ,
15
- :skip_subject_confirmation , :skip_destination , :skip_recipient_check
16
- ] . freeze
13
+ RUBYSAML_RESPONSE_OPTIONS = OneLogin ::RubySaml ::Response ::AVAILABLE_OPTIONS
17
14
18
15
option :name_identifier_format , nil
19
16
option :idp_sso_target_url_runtime_params , { }
@@ -234,7 +231,7 @@ def validate_fingerprint(settings)
234
231
235
232
def options_for_response_object
236
233
# filter options to select only extra parameters
237
- opts = options . select { |k , _ | OTHER_REQUEST_OPTIONS . include? ( k . to_sym ) }
234
+ opts = options . select { |k , _ | RUBYSAML_RESPONSE_OPTIONS . include? ( k . to_sym ) }
238
235
239
236
# symbolize keys without activeSupport/symbolize_keys (ruby-saml use symbols)
240
237
opts . inject ( { } ) do |new_hash , ( key , value ) |
You can’t perform that action at this time.
0 commit comments