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
Copy file name to clipboardexpand all lines: README.md
+10-8
Original file line number
Diff line number
Diff line change
@@ -13,14 +13,16 @@ URL to be log in to Moodle without typing username and password.
13
13
Using
14
14
-----
15
15
1. Install the plugin as usual.
16
-
2. Enable and configure just installed plugin. Set required Mapping field, User key life time, IP restriction and Logout redirect URL.
17
-
3. Enable web service advance feature (Admin > Advanced features), more info http://docs.moodle.org/en/Web_services
18
-
4. Enable one of the supported protocols (Admin > Plugins > Web services > Manage protocols)
19
-
5. Create a token for a specific user and for the service 'User key authentication web service' (Admin > Plugins > Web services > Manage tokens)
20
-
6. Make sure that the "web service" user has 'auth/userkey:generatekey' capability.
21
-
7. Authorise the "web service" user: Admin > Plugins > Web services > External services, select 'Authorised users' for the web service, and add the user.
22
-
8. Configure your external application to make a web call to get login URL.
23
-
9. Redirect your users to this URL to be logged in to Moodle.
16
+
2. Enable the userkey authentication plugin (Site administration -> Plugins -> Authentication and then enable User key).
17
+
3. Configure the plugin. Set required Mapping field, User key life time, IP restriction and Logout redirect URL.
18
+
4. Enable and configure just installed plugin. Set required Mapping field, User key life time, IP restriction and Logout redirect URL.
19
+
5. Enable web service advance feature (Admin > Advanced features), more info http://docs.moodle.org/en/Web_services
20
+
6. Enable one of the supported protocols (Admin > Plugins > Web services > Manage protocols)
21
+
7. Create a token for a specific user and for the service 'User key authentication web service' (Admin > Plugins > Web services > Manage tokens)
22
+
8. Make sure that the "web service" user has 'auth/userkey:generatekey' capability.
23
+
9. Authorise the "web service" user: Admin > Plugins > Web services > External services, select 'Authorised users' for the web service, and add the user.
24
+
10. Configure your external application to make a web call to get login URL.
25
+
11. Redirect your users to this URL to be logged in to Moodle.
0 commit comments