From 49fcb2cb449b48b7929b0e2c3a0f018004a8d775 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 28 Aug 2021 12:41:11 +0200 Subject: [PATCH] Created smallPART old Moodle LTI (markdown) --- smallPART-old-Moodle-LTI.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 smallPART-old-Moodle-LTI.md diff --git a/smallPART-old-Moodle-LTI.md b/smallPART-old-Moodle-LTI.md new file mode 100644 index 0000000..8ce786f --- /dev/null +++ b/smallPART-old-Moodle-LTI.md @@ -0,0 +1,29 @@ +### Using smallPART with Moodle < 3.10 (no dynamic registration) + +> Most of the following steps require a Moodle administrator! + +* with Moodle < 3.10 you have to configure smallPART manually +![](https://raw.githubusercontent.com/wiki/EGroupware/egroupware/pics/MoodleManageTools.png) + +* 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 +![](https://raw.githubusercontent.com/wiki/EGroupware/egroupware/pics/MoodleLTItool.png) +> 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](https://8gwifi.org/jwkconvertfunctions.jsp) (use only the key object ``` {"alg": "RS256", "kty": "RSA", ...}```, not the whole array!) + +* then display the configuration details in Moodle +![](https://raw.githubusercontent.com/wiki/EGroupware/egroupware/pics/MoodleLTIdetails.png) + +* and add them in EGroupware under Administration > Application > SmallPART > LTI Configuration +![](https://raw.githubusercontent.com/wiki/EGroupware/egroupware/pics/EGroupwareLTIconfig.png) +> Please note: LTI creates accounts in EGroupware, unless your [Moodle authenticates via OpenID Connect against EGroupware](https://github.com/EGroupware/egroupware/wiki/Moodle). 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 + +![](https://raw.githubusercontent.com/wiki/EGroupware/egroupware/pics/MoodleAddActivity.png) +![](https://raw.githubusercontent.com/wiki/EGroupware/egroupware/pics/MoodleAddExtTool.png) +> 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!) +![](https://raw.githubusercontent.com/wiki/EGroupware/egroupware/pics/SmallPARTinMoodle.png) + + +