Maintained by Picture of Sixto Martin GarciaSixto Martin Garcia
SAML Authentication plugin based on the simplesamlphp software. (Also install the SAML Enrolment plugin if you want auto-enrol based on SAML)

SAML Authentication (simpleSAMLphp required) auth/saml version of 19-01-2017

Release notes

SAML Authentication for Moodle
license: GNU Public License

- 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
- 2010-11 : Rewrited by Yaco Sistemas.
- 2011-17 : Maintained by Sixto Martin Garcia

- simpleSAMLphp (

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

- 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](
You can change this pattern editing the saml_hook_get_course_info method from the custom_hook.php file.
Moodle 2.7, 2.8, 2.9, 3.0, 3.1, 3.2

Version information

Version build number
Version release name
auth/saml version of 19-01-2017
MD5 Sum
Supported software
Moodle 2.7, Moodle 2.8, Moodle 2.9, Moodle 3.0, Moodle 3.1, Moodle 3.2
  • This is the latest release for Moodle 2.7
  • This is the latest release for Moodle 2.8
  • This is the latest release for Moodle 2.9
  • This is the latest release for Moodle 3.0
  • This is the latest release for Moodle 3.1
  • This is the latest release for Moodle 3.2

Version control information

Version control system (VCS)
VCS repository URL
VCS tag

Default installation instructions for plugins of the type Authentication

  1. Make sure you have all the required versions.
  2. Download and unpack the module.
  3. Place the folder (eg "myauth") in the "auth" subdirectory.
  4. Visit to finish the installation