Skip to content

Commit 91dac7c

Browse files
committed
Minor readability adjustment
1 parent 87755a2 commit 91dac7c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def load_conf(filename):
2626
2727
{
2828
"Note": "the OpenID Discovery will be updated by following optional content",
29-
"openid_configuration": {
29+
"additional_openid_configuration": {
3030
"authorization_endpoint": "https://example.com/tenant/oauth2/authorize",
3131
"token_endpoint": "https://example.com/tenant/oauth2/token",
3232
"device_authorization_endpoint": "device_authorization"
@@ -60,7 +60,7 @@ def load_conf(filename):
6060
openid_configuration.update(requests.get(discovery_uri).json())
6161
except:
6262
logger.warning("openid-configuration uri not accesible: %s", discovery_uri)
63-
openid_configuration.update(conf.get("openid_configuration", {}))
63+
openid_configuration.update(conf.get("additional_openid_configuration", {}))
6464
if openid_configuration.get("device_authorization_endpoint"):
6565
# The following urljoin(..., ...) trick allows a "path_name" shorthand
6666
openid_configuration["device_authorization_endpoint"] = urljoin(

0 commit comments

Comments
 (0)