Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-15863

Cannot set auth type using IMS Enterprise plugin

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.9, 1.9.1, 1.9.2, 2.0, 2.4
    • Fix Version/s: DEV backlog
    • Component/s: Enrolments
    • Labels:
    • Database:
      Any
    • Affected Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE, MOODLE_24_STABLE

      Description

      The IMS Enterprise enrolment plugin allows you to create accounts, and set the user's auth type to $CFG->auth

      File: /enrol/imsenterprise/enrol.php
      Line: 647

      $person->auth = $CFG->auth;

      However, since the multiauth changes, $CFG->auth returns a comma-separated list of enabled auth plugins. The effect is, for example, to set mdl_user.auth to 'ldap,manual' rather than one or the other. This means the user cannot log in.

      I'm really not sure how to address this. It's not possible to specify the authorisation method in the IMS document; or at least your IMS document wouldn't be compliant anymore.

      I've marked this as "Major" because it's going to affect some large institutions come October.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              chrisf Chris Fryer
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              4 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated: