OAuth 2 Nextcloud service
From MoodleDocs
Nextcloud configuration
As a prerequisite, you need Nextcloud in version 14.0.4 (or above). Otherwise, please upgrade to a recent version first. Then you need to register Moodle as an OAuth 2 client as follows:
- Log in to Nextcloud using the administrator account.
- Open the menu in the top-right corner and select Settings. On the next page, select the Security item in the "Administration" section on the left. At the top of the next page you see the list of registered clients (which is empty initially).
- Below "Add client", enter the name of your Moodle (e.g., "Mount Orange School Moodle") in the first field (Name). Note that the name that you enter here will be displayed to your Moodle users.
- In the second field (Redirection URI), enter the URL of your Moodle followed by /admin/oauth2callback.php (e.g., "https://school.demo.moodle.net/admin/oauth2callback.php").
- Click Add to save. Afterwards, the page might look similar to the screenshot below.
Moodle is now allowed to connect to Nextcloud using OAuth 2 authentication.
Moodle configuration
After you have set up Nextcloud, you can configure Moodle.
Info coming soon...