Background:
We have integrated PebblePad into Moodle using LTI 1.3. The integration uses email as the username and works correctly for the SSO component. However, there is an issue with the Memberships API, which is not returning the email field in the API call results. This is preventing user memberships from syncing between Moodle and PebblePad.
Issue:
The Memberships API call results show that users are found, but the email field is missing from the response. Without the email being passed, the integration cannot sync memberships properly.
Steps Already Taken:
- The PebblePad Service Account Role has been reviewed, and the required permissions listed below are enabled:
moodle/user:updatemoodle/user:viewalldetailsmoodle/user:viewhiddendetailsmoodle/grade:editgradereport/user:viewmoodle/course:managegroupsmoodle/course:useremailmoodle/course:viewmoodle/course:viewhiddencoursesmoodle/course:viewparticipantsmoodle/user:viewdetailsmod/lti:viewmoodle/site:accessallgroupsmoodle/site:viewfullnames
These permissions were enabled during the initial LTI setup.
Are there any site-wide privacy settings in Moodle that could prevent the email field from being included in the API call response?
