We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no implicit conversion of String into Integer
In https://github.com/dmitry-viskov/pylti1.3-flask-example/blob/master/game/app.py#L128 you do
return jsonify({'keys': tool_conf.get_jwks()})
but tool_conf.get_jwks() already returns something like {'keys': <the keys>} (see https://github.com/dmitry-viskov/pylti1.3/blob/master/pylti1p3/tool_config/abstract.py#L117) so this route results into something like
tool_conf.get_jwks()
{'keys': <the keys>}
"keys": { "keys": [ ... ] }
So what you should do is just
return jsonify(tool_conf.get_jwks())
For me this resulted in 500 errors while testing deep_linking and names & roles services:
The text was updated successfully, but these errors were encountered:
I modified the code to: Please try if it works for you.
@app.route('/jwks/', methods=['GET']) def get_jwks(): tool_conf = ToolConfJsonFile(get_lti_config_path()) # return jsonify({'keys': tool_conf.get_jwks()}) format_json_str = json.dumps(tool_conf.get_jwks(), separators=(',',':')) return format_json_str
Sorry, something went wrong.
No branches or pull requests
In https://github.com/dmitry-viskov/pylti1.3-flask-example/blob/master/game/app.py#L128 you do
but
tool_conf.get_jwks()
already returns something like{'keys': <the keys>}
(see https://github.com/dmitry-viskov/pylti1.3/blob/master/pylti1p3/tool_config/abstract.py#L117) so this route results into something likeSo what you should do is just
For me this resulted in 500 errors while testing deep_linking and names & roles services:
The text was updated successfully, but these errors were encountered: