catalyst / moodle-auth_userkey

Log in to Moodle using one time user key based login URL. Auth plugin for organising simple SSO (single sign on) between moodle and your external web application.
https://moodle.org/plugins/auth_userkey
83 stars 53 forks source link

Unable to POST any other attribute besides required ones #43

Open DanielSunami opened 5 years ago

DanielSunami commented 5 years ago

When sending a POST with

'user[firstname]'
'user[lastname]'
'user[email]'
'user[city]'
'user[username]'

Works but if I add department or city I get invalid_parameter_exception invalid value.

'user[department]'
'user[city]'

I'm making the request on nodejs with native https request. If someone can help I greatly appreciate it.

dmitriim commented 5 years ago

Hi @DanielSunami

department and city fields are not supported at the moment. Please feel free to submit a patch for that or contact us if you'd like to sponsor this feature https://www.catalyst-au.net/content/contact-us

dmitriim commented 2 years ago

This one is probably the same as https://github.com/catalyst/moodle-auth_userkey/issues/85