Open
Description
Code Version
pysaml2==4.6.5
Expected Behavior
I'd expect a better error message regarding root cause
Current Behavior
My end points didn't match -- in short, my endpoints allowed http://foo.com:443, but the request was coming in on https://foo.com
The problem is that the above error is propagated up instead of an error about endpoints.
The root seems to be somewhere around the .verify() call which returns None when the endpoint validation fails rather than raising an exception.
Possible Solution
Raise exceptions and propagate up.
Steps to Reproduce
In short, I think if you just misconfigure a valid endpoint url you'll see the error.