From 39b7aa33e101d15a02a56f4f639023bedf0bf003 Mon Sep 17 00:00:00 2001 From: ni-ght Date: Tue, 14 Dec 2021 12:47:52 +0100 Subject: [PATCH] Update README.md Added "Using" step: Authorise the "web service" user. --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 30e4f43..bec0cb0 100644 --- a/README.md +++ b/README.md @@ -19,8 +19,9 @@ Using 4. Enable one of the supported protocols (Admin > Plugins > Web services > Manage protocols) 5. Create a token for a specific user and for the service 'User key authentication web service' (Admin > Plugins > Web services > Manage tokens) 6. Make sure that the "web service" user has 'auth/userkey:generatekey' capability. -7. Configure your external application to make a web call to get login URL. -8. Redirect your users to this URL to be logged in to Moodle. +7. Authorise the "web service" user: Admin > Plugins > Web services > External services, select 'Authorised users' for the web service, and add the user. +8. Configure your external application to make a web call to get login URL. +9. Redirect your users to this URL to be logged in to Moodle. Configuration -------------