Moodle
Overview
Section titled “Overview”The Moodle integration connects your Moodle site, self-hosted or on MoodleCloud, to Oneleet, syncing the users of the site as user account assets. This lets Oneleet monitor who has access to your Moodle site.
What does Oneleet monitor?
Section titled “What does Oneleet monitor?”- Moodle users (user accounts), including whether each user can sign in
To set up the Moodle integration, navigate to Integrations > Add integration > Moodle.
Oneleet connects with a Moodle web service token and your site’s address. Sign in as a site administrator.
- Copy your site’s address without
https://, e.g.example.moodlecloud.com. - In Site administration → Users → Permissions → Define roles, create a role assignable at System level with
webservice/rest:use,moodle/user:viewdetails,moodle/user:viewalldetails,moodle/user:viewhiddendetails,moodle/site:viewuseridentity, andmoodle/site:viewfullnames. - Create a user for Oneleet and assign it the role in Assign system roles.
- In Site administration → Server → Web services → External services, add an enabled service for authorised users only with the
core_user_get_usersandcore_webservice_get_site_infofunctions, and authorise the new user. - In Manage tokens, create a token for the new user and service, and copy it; Moodle only shows it once.
- Paste both values into the form in Oneleet and click Connect.