Commit 0858b2b
Changed files (1)
lib
saml
kit
builders
lib/saml/kit/builders/response.rb
@@ -54,7 +54,7 @@ module Saml
xmlns: Namespaces::PROTOCOL,
}
options[:Destination] = destination if destination.present?
- options[:InResponseTo] = request.id if request.present?
+ options[:InResponseTo] = request.try(:id) if request.present?
options
end
end