Skip to content

SmallPART

Ralf Becker edited this page May 11, 2021 · 13 revisions

Using SmallPART with a LMS (Moodle, OpenOLAT, ...)

SmallPART courses can be embedded into a LMS (Learning Management System) like Moodle or OpenOLAT using the LTI standard 1.1 or 1.3.

Moodle

Most of the following steps require a Moodle administrator!

  • Moodle external tool documentation

  • recommended is to use LTI 1.3 which allows to create SmallPART as external tool for the whole Moodle installation

  • SmallPART does not yet support the automatic configuration, so you have to configure it manually

  • you need to replace boulder.egroupware.org with your own EGroupware Domain and for EGroupware Cloud hosting use egw instead of egroupware for the path

For the public key Moodle unfortunately does not support a JWK URL (JSON Web Key), so you have to get it from your server under /var/lib/egroupware/default/files/openid/public.key. If you have no access to the server you can use the JWK URL (https://boulder.egroupware.org/egroupware/openid/endpoint.php/jwks) to fetch the key and use a service to convert it (use only the key object {"alg": "RS256", "kty": "RSA", ...}, not the whole array!)

  • then display the configuration details in Moodle

  • and add them in EGroupware under Administration > Application > SmallPART > LTI Configuration

Please note: LTI creates accounts in EGroupware, unless your Moodle authenticates via OpenID Connect against EGroupware. Use Global Unique Identifier (lis_person_sourceid) in that case. If your Moodle has it's own users, use Moodle Username for the same username in EGroupware as in Moodle. All new users are added to EGroupware's Default Group and LTI staff and admins to the Teachers group.

  • now you're ready to add a SmallPART course and/or video to a Moodle course

full icon URL: https://boulder.egroupware.org/egroupware/smallpart/templates/default/images/navbar.svg

  • SmallPART video in Moodle (screenshot is from a teacher with rights to edit courses!)
Clone this wiki locally