omniauth / omniauth-saml

A generic SAML strategy for OmniAuth
https://github.com/omniauth/omniauth-saml
Other
331 stars 205 forks source link

Missing Child Elements #170

Closed keoghpe closed 5 years ago

keoghpe commented 5 years ago

Hi,

I'm getting an error I haven't seen before and I'm having trouble finding any info on it. Does anyone have any idea why I might be getting the error below?

Authentication failure! invalid_ticket: OneLogin::RubySaml::ValidationError, 6:0: ERROR: Element '{urn:oasis:names:tc:SAML:2.0:assertion}SubjectConfirmationData': Missing child element(s). Expected is ( {http://www.w3.org/2000/09/xmldsig#}KeyInfo ).

I've tried adding skip_receipient_check but that doesn't seem to affect this issue.

keoghpe commented 5 years ago

It looks like the customer's request was invalid and the library did the right thing here.