-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
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
fix: ensure that LTI 1.3 launches work #527
Conversation
@@ -86,13 +86,6 @@ def _get_keyset(self, kid=None): | |||
raise exceptions.NoSuitableKeys() from err | |||
keyset.extend(keys.keys) | |||
|
|||
if self.public_key and kid: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed this as the _get_keyset
function was never being called with a non-none kid
value. The comment also suggests this was related to pyjwkest
verification, but verification is passing using pyjwt
170d375
to
bcdb683
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
CHANGELOG.rst
Outdated
@@ -16,6 +16,10 @@ Please See the `releases tab <https://github.com/openedx/xblock-lti-consumer/rel | |||
Unreleased | |||
~~~~~~~~~~ | |||
|
|||
9.13.1 - 2025-01-15 | |||
------------------- | |||
* Fix broken LTI 1.3 launch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you make this a little more descriptive, so that it's clear what the bug was/what was fixed, please?
COSMO-629
Changes introduced in v9.13.0 caused LTI 1.3 launches to not function. This was because the
kid
field was missing from both the JWT header sent to the tool, and from the public keyset endpoint.This PR adds the
kid
to the JWT header and ensures that thekid
is also available in the public keyset endpoint. I've also removed somepyjwkest
related code that is no longer needed.