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 9c8a9c4 commit 86c1219Copy full SHA for 86c1219
1 file changed
lib/onelogin/ruby-saml/response.rb
@@ -603,8 +603,8 @@ def validate_in_response_to
603
# @raise [ValidationError] if soft == false and validation fails
604
#
605
def validate_audience
606
- return true if audiences.empty? || settings.sp_entity_id.nil? || settings.sp_entity_id.empty?
607
return true if options[:skip_audience]
+ return true if audiences.empty? || settings.sp_entity_id.nil? || settings.sp_entity_id.empty?
608
609
unless audiences.include? settings.sp_entity_id
610
s = audiences.count > 1 ? 's' : '';
0 commit comments