LTI 1.3 and Skillable

LTI 1.3 and Skillable

by Tom Marsland -
Number of replies: 9

I have followed guidance to build an external tool for linking to LOD from Skillable, and now I can see the content with LTI 1.3, but when I try adding selected content, I get the following error.

Exception - Argument 1 passed to Firebase\JWT\JWK::parseKeySet() must be of the type array, null given, called in [dirroot]/mod/lti/locallib.php on line 1372

I was given the following from the provider:

LTI 1.3 Login / Connect URL: <URL>

LTI 1.3 Launch URL: <URL>

LTI 1.3 JWKS URL: <URL>

LTI 1.3 DeepLink URL: <URL>

Public LTI 1.3 Key:  <URL>

Private LTI 1.3 Key: <URL>

Built the tool as follows: External Tool Configuration -> Configure a tool manually. 

Tool URL: <LTI 1.3 Launch URL>

LTI Version: LTI 1.3

Public key type: Keyset URL

Public Keyset: <Public LTI 1.3 Key URL>

Initiate Login URL: <LTI 1.3 Login / Connect Url:>

Redirection URI(s): <LTI 1.3 Launch URL>

Custom parameters: None

Tool configuration Usage: Show as preconfigured tool when adding an external tool

Default launch container: Embed, without blocks

Supports Deep Linking (Content-Item Message):  Checked

Content Selection URL: <LTI 1.3 DeepLink URL>

I then provided back the Platform ID, Client ID, Public keyset URL, Access token URL, and Authentication request URL to the provider and they put those in on their end.  When I go to use the tool and Select Content, I see the labs, but when I click one to add, I get the above error.


Any help would be great!


Tom




Average of ratings: -
In reply to Tom Marsland

Re: LTI 1.3 and Skillable

by Carly Born -
Did you ever get this resolved? I'm currently seeing the same error with Moodle 3.11.8 and using Gradescope.
In reply to Carly Born

Re: LTI 1.3 and Skillable

by Tom Marsland -
Hi Carly,
No, I haven't gotten deep linking working yet. Skillable / LOD worked with me to give me a list of lab IDs and I had to add it into each lab activity as a custom parameter of "LabID=XXXXX"

Tom
In reply to Tom Marsland

Re: LTI 1.3 and Skillable

by Jake Dallimore -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
I can't be sure (mainly because I don't have access to debug the deep linking launches for either of the tools reported in this thread) but this may turn out to be related to MDL-73847. If you're able to, I'd suggest testing the patch linked on that issue and reporting back here.
In reply to Jake Dallimore

Re: LTI 1.3 and Skillable

by Tom Marsland -
@Jake,

I'm a bit new to patching from those threads - can you give me a quick rundown on how to go about doing that?

Thanks,

Tom
In reply to Tom Marsland

Re: LTI 1.3 and Skillable

by Jake Dallimore -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
Hi Tom,

You'll need to be familiar with git and then pull in the patch on that linked issue. Some information on that can be found here (https://docs.moodle.org/dev/Git_for_developers#Peer-reviewing_someone_else.27s_code). If you're not familiar with the development process, or pulling in patches, then it's probably something we'll need to leave for others to test.

Cheers
In reply to Tom Marsland

Re: LTI 1.3 and Skillable

by Tom Marsland -
The team at LOD gave me some settings to update, now this is the error I get. Any advice?

Exception - OpenSSL error: error:0909006C:PEM routines:get_name:no start line
In reply to Tom Marsland

Re: LTI 1.3 and Skillable

by Jake Dallimore -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
Hi Tom,

That error appears unrelated to Moodle code. It appears to be openssl specific, perhaps relating to the format of the PEM file. Google will probably tell you more.
In reply to Tom Marsland

Re: LTI 1.3 and Skillable

by Ludo M -
Exception - OpenSSL error: error:0909006C:PEM routines:get_name:no start line

could be linked to the setting in the public key field :
-----BEGIN PUBLIC KEY----- is missing or there is a " before -----BEGIN PUBLIC KEY-----

In reply to Tom Marsland

Re: LTI 1.3 and Skillable

by Marko Marko -

Hi Tom,

I'm looking to add LOD now Skillable to my moodle LMS. I appreciate it if you can let me know if you were able to make it work, and if you did can you walk me through the steps?

Thank you I appreciate your time in advance for your response.

Mark