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 6c61d23 commit 3cb6069Copy full SHA for 3cb6069
1 file changed
lib/xml_security.rb
@@ -260,9 +260,11 @@ def validate_document_with_cert(idp_cert)
260
# check saml response cert matches provided idp cert
261
if idp_cert.to_pem != cert.to_pem
262
return false
263
+ end
264
+ else
265
+ base64_cert = Base64.encode64(idp_cert.to_pem)
266
end
- validate_signature(base64_cert, true)
- end
267
+ validate_signature(base64_cert, true)
268
269
270
def validate_signature(base64_cert, soft = true)
0 commit comments