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
I'm using djangosaml2 which depend on pysaml2==7.1.0
Expected Behavior
The verification rule is too strict! The address format like "ip:port" can't be think as malformed.
The idp sent client's address within the SubjectConfirmationData section, but the address may not always a ip address only, it may contains port which determine by the implemention of idp.
SO, Expected Behavior is the verifaction returns True.
Current Behavior
I got a saml2.validate.ShouldValueError: Not an IPv4 or IPv6 address while idp connecting to my service provider.
Possible Solution
More rules to support different types of address field.
Steps to Reproduce
Sent address like "ip:port" in the section as below: