Update README.md (#94)
* Update README.md userkey authentication plugin must be enabled before usage * Update README.md enable plugin configuration steps added * Update README.md removed unneeded step 9 * Update README.md numbering order changed
This commit is contained in:
parent
e60e6d4705
commit
c370cb1bee
1 changed files with 10 additions and 8 deletions
18
README.md
18
README.md
|
@ -13,14 +13,16 @@ URL to be log in to Moodle without typing username and password.
|
||||||
Using
|
Using
|
||||||
-----
|
-----
|
||||||
1. Install the plugin as usual.
|
1. Install the plugin as usual.
|
||||||
2. Enable and configure just installed plugin. Set required Mapping field, User key life time, IP restriction and Logout redirect URL.
|
2. Enable the userkey authentication plugin (Site administration -> Plugins -> Authentication and then enable User key).
|
||||||
3. Enable web service advance feature (Admin > Advanced features), more info http://docs.moodle.org/en/Web_services
|
3. Configure the plugin. Set required Mapping field, User key life time, IP restriction and Logout redirect URL.
|
||||||
4. Enable one of the supported protocols (Admin > Plugins > Web services > Manage protocols)
|
4. Enable and configure just installed plugin. Set required Mapping field, User key life time, IP restriction and Logout redirect URL.
|
||||||
5. Create a token for a specific user and for the service 'User key authentication web service' (Admin > Plugins > Web services > Manage tokens)
|
5. Enable web service advance feature (Admin > Advanced features), more info http://docs.moodle.org/en/Web_services
|
||||||
6. Make sure that the "web service" user has 'auth/userkey:generatekey' capability.
|
6. Enable one of the supported protocols (Admin > Plugins > Web services > Manage protocols)
|
||||||
7. Authorise the "web service" user: Admin > Plugins > Web services > External services, select 'Authorised users' for the web service, and add the user.
|
7. Create a token for a specific user and for the service 'User key authentication web service' (Admin > Plugins > Web services > Manage tokens)
|
||||||
8. Configure your external application to make a web call to get login URL.
|
8. Make sure that the "web service" user has 'auth/userkey:generatekey' capability.
|
||||||
9. Redirect your users to this URL to be logged in to Moodle.
|
9. Authorise the "web service" user: Admin > Plugins > Web services > External services, select 'Authorised users' for the web service, and add the user.
|
||||||
|
10. Configure your external application to make a web call to get login URL.
|
||||||
|
11. Redirect your users to this URL to be logged in to Moodle.
|
||||||
|
|
||||||
Configuration
|
Configuration
|
||||||
-------------
|
-------------
|
||||||
|
|
Loading…
Reference in a new issue