From 5b3fa07b57b18dcd955c1aebffe091fbf8ebc31a Mon Sep 17 00:00:00 2001 From: Martin Schwaighofer Date: Wed, 23 Feb 2022 23:56:50 +0100 Subject: [PATCH] return keys directly instead of keys object See: https://github.com/dmitry-viskov/pylti1.3/issues/53#issuecomment-1027595935 --- game/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game/app.py b/game/app.py index bb9ceed..cc3dbd0 100644 --- a/game/app.py +++ b/game/app.py @@ -127,7 +127,7 @@ def launch(): @app.route('/jwks/', methods=['GET']) def get_jwks(): tool_conf = ToolConfJsonFile(get_lti_config_path()) - return jsonify({'keys': tool_conf.get_jwks()}) + return jsonify(tool_conf.get_jwks()) @app.route('/configure///', methods=['GET', 'POST'])