You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to this documentation the second level of StatusCode inside the StatusCode tag is optional.
Currently pysaml2 is only checking the value of the second level of the StatusCode and throws an exception based on that value. Because of that it throws a general saml2.response.StatusError exception instead of a more specific one when only one level of StatusCode is present.
A small test script to reproduce the behaviour. This currently throws a saml2.response.StatusError exception, but I think it should throw a saml2.response.StatusResponder exception instead.
Hi,
According to this documentation the second level of
StatusCode
inside theStatusCode
tag is optional.Currently pysaml2 is only checking the value of the second level of the
StatusCode
and throws an exception based on that value. Because of that it throws a generalsaml2.response.StatusError
exception instead of a more specific one when only one level ofStatusCode
is present.Possible Solution
This part could be something like this:
Steps to Reproduce
A small test script to reproduce the behaviour. This currently throws a
saml2.response.StatusError
exception, but I think it should throw asaml2.response.StatusResponder
exception instead.The text was updated successfully, but these errors were encountered: