This plugin is a wrapper around the OpenID authentication plugin for Moodle, plus other research-related functionality.
Available via IET-OU Satis:
To facilitate pilot research studies using Moodle (e.g. for TeSLA) by:
- Enabling OpenID login using just a username, not a full URL (e.g. https://example.org/openid/{username})
- Simple login page with custom instructions (edit via Moodle language customisations),
/index.php
, - Importing pilot-related data into a separate DB table,
mdl_auth_ouopenid_users
, - Making the pilot-related data available via
/user/ajax.php
, - Tries to redirect the participant to a bespoke URL (a work-in-progress),
- LESS styles to hide parts of the Moodle user-interface to simplify the experience,
- Javascript & LESS fixes relating to the pilot study,
- ...?
Note: this plugin probably needs splitting into two or more plugins!
See: CHANGELOG
-
To integrate within Moodle, either use the composer-based method described below, or unzip the code at:
{PATHTOMOODLE}/auth/ouopenid
Then, enable the plugin in the authentication plugins section of your Moodle's site administration.
-
To test the plugin in standalone mode, install via Composer:
composer install
composer sym-links
composer npm-install
composer eslint-config
composer build
composer test
composer eslint
Re-create images of long-texts / poetry, to prevent copy-paste (e.g. for TeSLA keystroke dynamics pilot):
composer phantom-clone
composer text-srv
composer text-images
To embed the plugin's Javascript and stylesheet on every page:
- Visit the Additional HTML section of your Moodle's site administration;
- Copy and paste the HTML snippet below;
- Press the "Save changes" button.
<link href="/auth/ouopenid/style/ouop-styles.less" rel="stylesheet/less" />
<script src="/auth/ouopenid/dist.js"></script>
<script src="https://unpkg.com/[email protected]/dist/less.min.js"></script>
<link href="/auth/ouopenid/style/ouop-styles.css?r=2017-08-16.a" rel="stylesheet" />
<script src="/auth/ouopenid/dist.min.js?r=2017-08-16.a"></script>
Developed for the TeSLA project.
© 2017-2018 The Open University. (Institute of Educational Technology)