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

OAuth2 field mappings don't allow to choose internal profile fields

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Peer review in progress
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.4, 3.5, 3.9
    • Fix Version/s: None
    • Component/s: Authentication
    • Labels:
    • Testing Instructions:
      Hide
      • create custom profile field
      • create oauth2 service
      • go to user field mapping section
      • make sure your previously defined user field can be selected for mapping
      • make sure that field is unlocked and value can be set at admin/settings.php?section=authsettingoauth2
      • map this user field with an external attribute from service
      • make sure this field is saved correctly
      • login using this service
      • make sure that custom profile field is set to value provided by the service according to mapping
      Show
      create custom profile field create oauth2 service go to user field mapping section make sure your previously defined user field can be selected for mapping make sure that field is unlocked and value can be set at admin/settings.php?section=authsettingoauth2 map this user field with an external attribute from service make sure this field is saved correctly login using this service make sure that custom profile field is set to value provided by the service according to mapping
    • Affected Branches:
      MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_39_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-61789-master

      Description

      When mapping user attributes from auth server to moodle internal database only basic user fields can be set. There is no way to map values to custom profile fields defined by admin.

      These fields are many times meant to serve this purpose eg. hold a user's attribute synced from other system.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mastnym Martin Mastny
              Reporter:
              mastnym Martin Mastny
              Peer reviewer:
              Michael Milette
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              8 Vote for this issue
              Watchers:
              16 Start watching this issue

                Dates

                Created:
                Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours, 1 minute
                  4h 1m