Fix OAuth key not found error for Dex

Fixes #1582
This commit is contained in:
Joseph Schorr 2016-06-27 13:38:11 -04:00
parent 0b389ec4ff
commit 2983195a4a

View file

@ -265,7 +265,7 @@ class OIDCConfig(OAuthConfig):
self._http_client = config['HTTPCLIENT']
if self.config.get('OIDC_SERVER'):
self._load_via_discovery(config['DEBUGGING'])
self._load_via_discovery(config.get('DEBUGGING', False))
def _load_via_discovery(self, is_debugging):
oidc_server = self.config['OIDC_SERVER']