For this project we using the auth/gauth plugin http:/
This will allow the possibility of schools that are not using moodle to be able to use the moodle course as we have some schools that are using alternative Learning Management Systems.
auth/gauth - OpenID authentication with Google
Activated as an authentication plugin, and must be configured.
Key configuration values are:
- Domain name - the Google Apps domain name which forms the OAuth consumer key
- OpenID username mapping: the field from the OpenID assertions that is used for matching to Moodle - usually 'openid', but can be 'email'
- moodle username mapping - the field in Moodle that maps to the above OpenID userfield - usually 'idnumber'
Now we need to allow students to login, so changes to the login page are needed, I have been wondering how to do this for a long time, so reading the documentation on the git hub, it was explained:
If you want to use another authentication method together with auth/gauth, in
parallel, change the 'Instructions' in the 'Common settings' of the 'Administrations
>> Users >> Authentication Options' to contain a link to the
auth/gauth login page (-- remember to check the href and src paths --):
Click /auth/gauth/index.php to login with SSO
However, looking at the instructions, this is under, Site Administration -> Plugins -> Authentication -> Manage Authentication
and in the
Here you can provide instructions for your users, so they know which username and password they should be using. The text you enter here will appear on the login page. If you leave this blank then no instructions will be printed.