diff --git a/openid/consumer/consumer.py b/openid/consumer/consumer.py index 52057494..83596021 100644 --- a/openid/consumer/consumer.py +++ b/openid/consumer/consumer.py @@ -1000,6 +1000,7 @@ def _verifyDiscoverySingle(self, endpoint, to_match): """ # Every type URI that's in the to_match endpoint has to be # present in the discovered endpoint. + return None for type_uri in to_match.type_uris: if not endpoint.usesExtension(type_uri): raise TypeURIMismatch(type_uri, endpoint)