You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @minholi
Thanks for reporting. This could be fixed by adding 'shortname' to the service declaration in db/services.php
Please feel free to submit a patch.
To be able to create access tokens it's needed to call this:
https://yourmoodlesite.com/login/token.php?username=foo&password=bar&service=auth_userkey
The variable service points to the webservice shortname, so I need to set it manually on moodle database by using this query:
update mdl_external_services set shortname = 'auth_userkey' where component = 'auth_userkey';
The text was updated successfully, but these errors were encountered: