Hello
I've followed the instructions at
OAuth 2 Microsoft service - MoodleDocs
to connect to an Oauth 2 MS service. In terms of the user logging in everything is fine.
But how do I access the additional user information fields in order to map them?
When I test the login service via 'test settings' on the auth plugins page I can see the following user data being returned
sub |
name |
family_name |
given_name |
picture |
We want to also map jobtitle and department but I can't see these being returned? If I add them the field mapping they aren't updated in the user table.
I'm assuming that that is an additional permission or setting needed as the MS app setup side but I'm unable to find it.