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

Matrix integration can create incorrect usernames for logging in via SAML

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.4.5, 4.5
    • Communication
    • MOODLE_404_STABLE, MOODLE_405_STABLE

      When a username includes characters not allowed by Synapse (such as @ symbols), moodle assumes dot replacement. However, when checking for an existing user upon first saml login, Synapse only performs hex replacement, causing no match to be found and a duplicate user to be created.

      Either changing the information stored in the profile field, or adding an additional profile field, to store only the localpart of the username (i.e. just user.name, rather than @user.name:servername) would allow Synapse saml to be configured to use that field as the mxid_source_attribute, preventing any character replacement and allowing proper user matching.

            Unassigned Unassigned
            markwebster Mark Webster
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.