From 2ef92f08b0638f420cd39e1e069be0076e9c6652 Mon Sep 17 00:00:00 2001 From: Roland Hedberg Date: Wed, 12 Jan 2022 09:41:37 +0100 Subject: [PATCH 1/2] 'keys' attribute in configuration file becomes 'key_conf' attribute in Configuration instance. Bumped version. --- example/flask_rp/application.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example/flask_rp/application.py b/example/flask_rp/application.py index a2aa16b..a15c28f 100644 --- a/example/flask_rp/application.py +++ b/example/flask_rp/application.py @@ -14,8 +14,8 @@ def init_oidc_rp_handler(app): _rp_conf = app.rp_config if _rp_conf.keys: - _kj = init_key_jar(**_rp_conf.keys) - _path = _rp_conf.keys['public_path'] + _kj = init_key_jar(**_rp_conf.key_conf) + _path = _rp_conf.key_conf['public_path'] # removes ./ and / from the begin of the string _path = re.sub('^(.)/', '', _path) else: From d7de762b3da78e638e9de6c5aea15b5826146ea5 Mon Sep 17 00:00:00 2001 From: Roland Hedberg Date: Wed, 12 Jan 2022 10:19:56 +0100 Subject: [PATCH 2/2] 'keys' attribute in configuration file becomes 'key_conf' attribute in Configuration instance. Bumped version. --- example/flask_rp/application.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/flask_rp/application.py b/example/flask_rp/application.py index a15c28f..46e0bf1 100644 --- a/example/flask_rp/application.py +++ b/example/flask_rp/application.py @@ -13,7 +13,7 @@ def init_oidc_rp_handler(app): _rp_conf = app.rp_config - if _rp_conf.keys: + if _rp_conf.key_conf: _kj = init_key_jar(**_rp_conf.key_conf) _path = _rp_conf.key_conf['public_path'] # removes ./ and / from the begin of the string