Skip to content
Moodle SAML Auth plugin
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
classes Moodle CodeStyle. Avoid mapping of site course (id=1). Support Course… Jun 11, 2019
cli Add scripts that extract old data from SQL tables to CSV Jun 11, 2019
db
lang Add support for groups. Add support for log extra info: Logins, Chang… Jun 13, 2019
README.txt Add support for groups. Add support for log extra info: Logins, Chang… Jun 13, 2019
auth.php Moodle CodeStyle. Avoid mapping of site course (id=1). Support Course… Jun 11, 2019
course_and_role_mapping.php Add support for groups. Add support for log extra info: Logins, Chang… Jun 13, 2019
course_mappings_to_csv.php Moodle CodeStyle. Avoid mapping of site course (id=1). Support Course… Jun 11, 2019
custom_hook.php
error.php Add support for groups. Add support for log extra info: Logins, Chang… Jun 13, 2019
index.php Add support for groups. Add support for log extra info: Logins, Chang… Jun 13, 2019
locallib.php Moodle CodeStyle. Avoid mapping of site course (id=1). Support Course… Jun 11, 2019
login.php Moodle CodeStyle. Avoid mapping of site course (id=1). Support Course… Jun 11, 2019
logo.gif Add the auth SAML plugin for moodle Apr 11, 2013
moodle_auth_saml.txt Mention that 3.6 is supported. Fix plugin->requires Jan 15, 2019
role_mappings_to_csv.php Moodle CodeStyle. Avoid mapping of site course (id=1). Support Course… Jun 11, 2019
saml_config.php New release of the Auth and Enrol SAML plugins. Code improvements and… Jul 20, 2015
settings.php Add support for groups. Add support for log extra info: Logins, Chang… Jun 13, 2019
utils.php Fix error on index.php related to initialization. Fix docs. Display a… Nov 18, 2016
version.php Add support for groups. Add support for log extra info: Logins, Chang… Jun 13, 2019

README.txt

SAML Authentication for Moodle
-------------------------------------------------------------------------------
license: http://www.gnu.org/copyleft/gpl.html GNU Public License

Changes:
- 2008-10    : Created by Ny Media AS
- 2008-11-03 : Updated by Ny Media AS
- 2009-07-29 : added configuration options for sslib path and config path
               tightened up the session switching between ss and moodle
               Piers Harding <piers@catalyst.net.nz>
- 2010-11    : Rewrited by Yaco Sistemas.
- 2011-19    : Maintained by Sixto Martin Garcia <sixto.martin.garcia@gmail.com>
  

Requirements:
- simpleSAMLphp (http://rnd.feide.no/simplesamlphp).

Optional:
- SAML Enrollment for Moodle module (if want to support enrolment on course based on SAML attributes)


Notes:
- This plugin add SAML support to Moodle enabling a Service Provider using simpleSAMLphp endpoints.
- Uses IdP attribute "eduPersonPrincipalName" as username by default

Install instructions:

Check moodle_auth_saml.txt


Important for enrollment!!
==========================

This plugin suppose that the IdP send the courses data of the user in a attribute that can be configured but the pattern of the expected data is defined per the [RFC](https://tools.ietf.org/html/rfc6338)
urn:mace:terena.org:schac:userStatus:<country>:<domain>:<course_id>:<period>:<role>:<status>
You can change this pattern editing the saml_hook_get_course_info method from the custom_hook.php file.
You can’t perform that action at this time.