Quantcast
Channel: LTI and Moodle
Viewing all articles
Browse latest Browse all 2848

Re: Building a LTI 1.3 Tools as a Tool provider

$
0
0
by Jake Dallimore.  

Hi Julien,

You can see the fields that Moodle supports during the handling of a registration request here: https://github.com/moodle/moodle/blob/2eaf60e01b1872293683b06987a764875c324039/mod/lti/classes/local/ltiopenid/registration_helper.php#L103. Launch container and privacy are Moodle-specific fields and are not supported as part of this process. Once the preconfigured tool is created - after dynamic registration - these values can be set via preconfigured tool settings.

For reference, here's how Moodle (when acting as a tool provider) constructs its registration request: https://github.com/moodle/moodle/compare/e63604fb6d...snake:MDL-69542-master-fixes-historyfix#diff-fed2cb814ecd3de9ad47582296b31d2721f439b487a0810951a4e49ce1c7b7a9R98. If the link doesn't work, try hitting the 'files changed' tab and reloading, or just view the enrol/lti/register.php file directly.

Also, for 5, I would strongly recommend using a keyset URL over a public key, as seems to be the case in most tools I've seen.

Cheers,
Jake

Viewing all articles
Browse latest Browse all 2848

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>