From 90b6a534c1ecf4ba529c3c728b38a7988d9a5547 Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Thu, 26 Jan 2017 12:00:43 -0500 Subject: [PATCH] Change verify param in OIDC to read better --- oauth/oidc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oauth/oidc.py b/oauth/oidc.py index f5c274259..f858bb1b3 100644 --- a/oauth/oidc.py +++ b/oauth/oidc.py @@ -156,7 +156,7 @@ class OIDCLoginService(OAuthService): raise DiscoveryFailureException('OIDC server must be accessed over SSL') discovery_url = urlparse.urljoin(oidc_server, OIDC_WELLKNOWN) - discovery = self._http_client.get(discovery_url, timeout=5, verify=not is_debugging) + discovery = self._http_client.get(discovery_url, timeout=5, verify=is_debugging is False) if discovery.status_code // 100 != 2: logger.debug('Got %s response for OIDC discovery: %s', discovery.status_code, discovery.text) raise DiscoveryFailureException("Could not load OIDC discovery information")