-
Bug
-
Resolution: Fixed
-
Minor
-
3.3, 3.9.8, 3.11.4, 4.0
-
MOODLE_311_STABLE, MOODLE_33_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE
-
MOODLE_311_STABLE
-
master_
MDL-59115 -
I have a value I'm that I set up a custom user mapped setting for in OAuth2 to map to the internal field idnumber.
Looking at the code \moodle\auth\oauth2\classes\api.php, send_confirm_account_email(), not all of the possible internal fields are being mapped to the user object. I would expect the following to be included in the list of values:
$user->idnumber = $userinfo['idnumber'];
- blocks
-
MDL-61789 Allow to choose custom profile fields from oAuth2 field mappings
- Closed