Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

Commit 3ae9a7c

Browse files
authored
Merge pull request #60 from IdentityPython/key_conf
'keys' attribute in configuration file becomes 'key_conf'
2 parents dfdc265 + d7de762 commit 3ae9a7c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

example/flask_rp/application.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
def init_oidc_rp_handler(app):
1414
_rp_conf = app.rp_config
1515

16-
if _rp_conf.keys:
17-
_kj = init_key_jar(**_rp_conf.keys)
18-
_path = _rp_conf.keys['public_path']
16+
if _rp_conf.key_conf:
17+
_kj = init_key_jar(**_rp_conf.key_conf)
18+
_path = _rp_conf.key_conf['public_path']
1919
# removes ./ and / from the begin of the string
2020
_path = re.sub('^(.)/', '', _path)
2121
else:

0 commit comments

Comments
 (0)