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

'keys' attribute in configuration file becomes 'key_conf' #60

Merged
merged 2 commits into from
Jan 12, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions example/flask_rp/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
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']
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
_path = re.sub('^(.)/', '', _path)
else:
Expand Down