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

Enrol_lti creates separate users when the tool is included twice on the same consumer which is not what users expect

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_35_STABLE

      Description

      Hi,

      I have a course setup on my moodle site which is sharing content using the publish as LTI tool. Next i have a blackboard site setup which i am using as a consumer of the lti links. On this site i have a student user which im using to access the lti content, however even though I am using the same student (with same first, last name and email address) to access the different lti links, my moodle site is creating a separate user for each lti link that i click on so i end up with many duplicates of the same user.

      I have checked that "Allow accounts with same email" is set to no under authentication settings and also tried to create user accounts with the same email manually and by uploading a csv. Both fail as they should, so why does creating accounts using lti still work?

      Is anyone else experiencing the same issue? or is this just a setting that i have missed somewhere?

      I am using Moodle 3.1.1+ (Build: 20160817).

      Thanks,

      Josh

      https://moodle.org/mod/forum/discuss.php?d=339343

      If we have one course where a user is a teacher and another where the same user is a student, then what role will their account have? They are in a different context so must be treated differently. But if they are in the same context, we can use the same user. Will come in handy once content-item is implemented on the provider side and in some cases people will want to select many different activities from one course and embed them separately

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                johno John Okely
                Participants:
                Component watchers:
                Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón, Adrian Greeve, Mihail Geshoski, Peter Dias, Adrian Greeve, Mihail Geshoski, Peter Dias
              • Votes:
                10 Vote for this issue
                Watchers:
                13 Start watching this issue

                Dates

                • Created:
                  Updated: