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
Hi, when I use this package, the /api/lti_consumer/v1/public_keysets/lti_store/... endpoint returns an empy object {} insead of a public key.
/api/lti_consumer/v1/public_keysets/lti_store/...
{}
I found the reason is that the function model_to_dict omits all fields with editable=False, thus the lti_1p3_public_jwk field is not set. I posted one possible fix here: https://github.com/jdmansour/openedx-ltistore/tree/fix-lti13 .
model_to_dict
editable=False
lti_1p3_public_jwk
I just realized another way would be to remove editable=False and instead use exclude = ('lti_1p3_public_jwk',) in the admin, but I haven't tested it.
exclude = ('lti_1p3_public_jwk',)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, when I use this package, the
/api/lti_consumer/v1/public_keysets/lti_store/...
endpoint returns an empy object{}
insead of a public key.I found the reason is that the function
model_to_dict
omits all fields witheditable=False
, thus thelti_1p3_public_jwk
field is not set. I posted one possible fix here: https://github.com/jdmansour/openedx-ltistore/tree/fix-lti13 .I just realized another way would be to remove
editable=False
and instead useexclude = ('lti_1p3_public_jwk',)
in the admin, but I haven't tested it.The text was updated successfully, but these errors were encountered: