← Back to team overview

mahara-contributors team mailing list archive

[Bug 1989388] [NEW] Allow the LTI/LTI_Advantage to process the 'lis_person_sourcedid' as a remoteusername

 

Public bug reported:

When a Moodle connects to Mahara via LTI/LTI advantage it sends the
Moodle user_id value that we consume as the remoteusername, which is
fine normally.

But if the LTI/LTI advantage auth method has a parent auth method (such
as SAML) then the Moodle user_id is not helpful.

What we need is the value of the ID of the Identity Provider for the
account in Moodle.

There is the 'lis_person_sourcedid' field that can carry the ID of the
IdP login name for Moodle.

In Moodle:
        'user_id' => $USER->id,
        'lis_person_sourcedid' => $USER->idnumber,

So we want to set that value as an auth remoteusername in addition to
the user_id

** Affects: mahara
     Importance: High
         Status: In Progress

** Changed in: mahara
    Milestone: None => 22.10.0

** Changed in: mahara
   Importance: Undecided => High

** Changed in: mahara
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1989388

Title:
  Allow the LTI/LTI_Advantage to process the 'lis_person_sourcedid' as a
  remoteusername

Status in Mahara:
  In Progress

Bug description:
  When a Moodle connects to Mahara via LTI/LTI advantage it sends the
  Moodle user_id value that we consume as the remoteusername, which is
  fine normally.

  But if the LTI/LTI advantage auth method has a parent auth method
  (such as SAML) then the Moodle user_id is not helpful.

  What we need is the value of the ID of the Identity Provider for the
  account in Moodle.

  There is the 'lis_person_sourcedid' field that can carry the ID of the
  IdP login name for Moodle.

  In Moodle:
          'user_id' => $USER->id,
          'lis_person_sourcedid' => $USER->idnumber,

  So we want to set that value as an auth remoteusername in addition to
  the user_id

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1989388/+subscriptions



Follow ups