CAS server (SSO) with user-attribute release

Authentication ::: auth_casattras
Maintained by Charles Fulton, Adam Franco
A CAS (SSO) authentication module for Moodle that uses released attributes rather than LDAP for user information.
Latest release:
134 sites
3 fans
Moodle 3.7, 3.8, 3.9, 3.10, 3.11

This is an authentication plugin for Moodle that authenticates users via a Central Authentication Service (CAS) server and populates the Moodle user account's attributes from user-attributes included in the CAS response.

This method does not make use of LDAP for user-attribute lookup, allowing its use in situations where there is no LDAP server that includes user information, or there are multiple LDAP servers that include user information.

This authentication method makes use of the attributes returned by the phpCAS library's phpCAS::getAttributes() function and which are often returned from modern CAS servers.


Screenshot #0


Charles Fulton (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Thu, Jun 11, 2015, 6:09 PM
    Prechecker results: 4311 errors/1103 warnings

    Please check for the info how 3rd party libraries can be excluded from Moodle coding style checks.
  • Fri, Jun 12, 2015, 2:31 AM

    Hi Adam. Thanks for sharing the plugin with the community. The overall code looks sane. I was able to detect some issues and reported them into your bug tracker. Most notably, the bug #5 is currently a blocker for approval.

    Additionally, it would be great to have a screenshot attached here, as the Plugin check results box above says (e.g. how the log in form and a part of the auth settings form looks like).

    For now, I am marking this as needing more work. Thanks for your patience with the review and approval process.

  • Fri, Jun 12, 2015, 12:23 PM
    Thanks for taking the time to review, David! I'll address these items and be back.
  • Wed, Oct 23, 2019, 2:01 AM
    Approval issue created: CONTRIB-7879
Please login to post comments