-
Notifications
You must be signed in to change notification settings - Fork 447
Closed
Description
Code Version
4.6.4
Expected Behavior
If client is parsing a message with error status (for example status code urn:oasis:names:tc:SAML:2.0:status:UnknownPrincipal
), an exception should be raised.
Current Behavior
No exception is raised and a response
object is returned from Base.parse_authn_request_response
with no easy way of detecting the error type/message.
Possible Solution
This has been caused by catching an Exception here and not propagating it further.
Steps to Reproduce
- Create an XML message with error status and status code of
urn:oasis:names:tc:SAML:2.0:status:UnknownPrincipal
- Parse the message with the client
rectalogic, mdellavo and c00kiemon5ter
Metadata
Metadata
Assignees
Labels
No labels