We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 368a360 commit 3cc9b61Copy full SHA for 3cc9b61
1 file changed
lib/onelogin/ruby-saml/response.rb
@@ -738,7 +738,7 @@ def validate_subject_confirmation
738
next if (attrs.include? "InResponseTo" and attrs['InResponseTo'] != in_response_to) ||
739
(attrs.include? "NotOnOrAfter" and (parse_time(confirmation_data_node, "NotOnOrAfter") + allowed_clock_drift) <= now) ||
740
(attrs.include? "NotBefore" and parse_time(confirmation_data_node, "NotBefore") > (now + allowed_clock_drift)) ||
741
- (attrs.include? "Recipient" and !options[:skip_recipient_check] and attrs['Recipient'] != settings&.assertion_consumer_service_url)
+ (attrs.include? "Recipient" and !options[:skip_recipient_check] and settings and attrs['Recipient'] != settings.assertion_consumer_service_url)
742
743
valid_subject_confirmation = true
744
break
0 commit comments