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.
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.
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.
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"