Commit graph

18 commits

Author SHA1 Message Date
6b51e0bceb
feat(auth_jwt): add JWT secret key configuration
Some checks failed
ci / ci (push) Failing after 0s
Introduced new settings for JWT secret and its description to the JWT authentication plugin. The settings allow administrators to configure a secret key used for signing JWT tokens.

Also updated the plugin version to ensure proper synchronization with these changes.

Addresses setup requirements for heightened JWT security.
2024-06-25 19:26:41 +02:00
dbcf9bebc3
refactor(auth_jwt): update terminology from user key to JWT
Some checks failed
ci / ci (push) Failing after 0s
Aligned terminology with JWT standards by changing references from "user key" to "JWT" for better clarity and consistency. This enhances understanding for developers and users familiar with JWT (JSON Web Token) authentication, ensuring the plugin's description and functionality are clear.
2024-06-25 18:24:00 +02:00
9a87e9a496
refactor(auth): rename auth_userkey to auth_jwt
Some checks failed
ci / ci (push) Failing after 0s
Rebranded the auth_userkey plugin to auth_jwt, including changes to namespace, class names, and configuration settings to reflect the new jwt-based authentication mechanism. Updated copyright notices and contact information accordingly. This refactoring also includes the introduction of JWT token management using the Firebase JWT library, replacing the user quick keys.
2024-06-25 12:00:04 +02:00
Dmitrii Metelkin
650c772707 Implement logout functionality 2020-05-08 22:57:13 +10:00
Dmitrii Metelkin
6ba819fd6e Add privacy API 2020-05-08 15:22:02 +10:00
Dmitrii Metelkin
0119c5b1b0 Add missing MOODLE_INTERNAL constants 2018-01-29 11:17:54 +11:00
Andrew Hancox
bded162058 Add ability to white list IP addresses to ignore iprestrictions 2017-10-03 11:05:40 +01:00
Andrew Hancox
b08d113e0c Add user provisioning. 2017-03-31 11:55:52 +01:00
Dmitrii Metelkin
1d380d8aed Refactor hooks and modify related tests 2016-09-26 11:48:14 +10:00
Dmitrii Metelkin
b7cd70f1ea Add ssourl validation 2016-09-26 10:45:40 +10:00
Matt Porritt
68f7634066 Add functionality to stop users from reaching the regular Moodle login page.
This function forces users who try to access Moodle directly to be redirected to the "SSO Host".  The functionality is enabled by setting a SSO redirect URl in the plugins admin settings
The forced redirect can be overridden by using the  query param "enrolkey_skipsso=on"
2016-09-26 09:51:52 +10:00
Dmitrii Metelkin
3358c1e942 Update documentation 2016-08-19 16:46:19 +10:00
Dmitrii Metelkin
8e1ecdb7b6 Move key lifetime error to the string file 2016-08-19 10:53:36 +10:00
Dmitrii Metelkin
56a1728b1a Add redirect URL to a config form 2016-08-19 10:49:38 +10:00
Dmitrii Metelkin
5f6a3a8c81 Move error text to a string file 2016-08-18 21:49:27 +10:00
Dmitrii Metelkin
99d080f1cd Add 'Generate user key' permission 2016-08-18 18:10:38 +10:00
Dmitrii Metelkin
29d61cad41 Add settings 2016-08-18 14:43:57 +10:00
Dmitrii Metelkin
e128916e37 Initial commit 2016-08-16 14:10:38 +10:00