[AMOS commit] MDL-66920 mod_lti: Allow usage of both JWKS URI and Public Key Committed into Git: 2020-04-03 14:42 UTC

[AMOS commit] MDL-66920 mod_lti: Allow usage of both JWKS URI and Public Key Committed into Git: 2020-04-03 14:42 UTC

by AMOS bot -
Number of replies: 0
Author: carlos
MDL-66920 mod_lti: Allow usage of both JWKS URI and Public Key
- Changed mod_lti edit_form.php to add necessary fields.
- Added configuration field 'keytype' that can be RSA_KEY or JWK_KEYSET, defaulting to RSA_KEY if none is found.
- Changed mod_lti locallib.php to add the usage of jwk in the verifications of jwt's.
- Changed mod_lti token.php to call the verification function from locallib.php.
- Caches the keyset endpoint content of any given lti tool.
- Updated language files to accommodate new functionalities.
- Added test method for JWK functionalities.
- Added test_keyset file in the fixtures folder.
- Bumped the mod_lti version to 2020022200.


http://git.moodle.org/gw?p=moodle.git;a=commit;h=32591786d9e1057e2e1cc5301ef676f7d18b6655
http://github.com/moodle/moodle/commit/32591786d9e1057e2e1cc5301ef676f7d18b6655

+ 3.9 en [cachedef_keyset,mod_lti]
+ 3.9 en [keytype,mod_lti]
+ 3.9 en [keytype_help,mod_lti]
+ 3.9 en [keytype_keyset,mod_lti]
+ 3.9 en [keytype_rsa,mod_lti]
+ 3.9 en [publickeyset,mod_lti]
+ 3.9 en [publickeyset_help,mod_lti]