Documentation: User field mappings for OpenID Connect Provider
-
Today I learned that Moodle requires some user field mappings. No idea what the OpenID Connect provider field names are.
My best guess was: email for email. 100 points -
@luckow Once you understand how to set up the Oauth/OIC setup properly, you won't need to ask silly questions
Here is the list once the auto-discovery works.cloudron:moodle
address:address
nickname:alternatename
email:email
given_name:firstname
locale:lang
family_name:lastname
middle_name:middlename
phone:phone1
picture:picture -
Stil have to document this, but for the moment the currently supported claims can be seen at https://git.cloudron.io/cloudron/box/-/blob/master/src/oidc.js#L529
So mostly the (Oauth2) clients will want to be setup with those scopes:
openid profile email