Commit graph

6 commits

Author SHA1 Message Date
b3a7336c36
fix: correct markup formatting in README
Uniformed the markup for 'System Settings' in the README instructions for enabling the module in the WHMCS admin area. This adjustment ensures consistency in our documentation, enhancing readability and minimizing potential confusion during module setup.
2024-04-27 19:34:30 +02:00
9733901781
feat: Updated README for improved installation steps
Enhanced the installation instructions in the README to include the necessary step of installing dependencies with Composer after uploading the module to the WHMCS installation directory. This update ensures users are aware of all essential installation steps, addressing previous omissions and potentially reducing setup issues.
2024-04-27 19:33:29 +02:00
83e171bc5d
feat: Enhanced OIDC Admin Login module
Refactored the OIDC Admin Login for WHMCS to improve usability and configuration management. The module now supports dynamic configuration via the WHMCS admin interface, removing the need for manual edits to a config file. This change facilitates easier module activation, configuration, and management directly from the WHCMS admin panel.

Key changes include:
- Transitioned the installation path to the more appropriate `/modules/addons` directory.
- Eliminated the `config.dist.php` file in favor of storing configuration details in the database, which are set through the WHMCS admin UI.
- Added admin UI components for module activation and configuration, including fields for OIDC provider URL, client ID, client secret, OIDC claim, and OIDC scopes.
- Introduced a login handler script that dynamically fetches configuration from the database, authenticates users via their OIDC provider, and handles session setup within WHMCS based on the `preferred_username` claim.
- Implemented instructional comments and setup guidelines in README to guide users through the new installation and configuration process.

This upgrade streamlines the setup process for administrators and strengthens the module's integration with WHMCS, making it more accessible and easier to manage.
2024-04-27 15:17:12 +02:00
07d80ba0af
feat: streamline module setup process
Streamlined the setup process for the WHMCS OIDC admin login module by including a step to copy the default configuration file (`config.dist.php`) to `config.php`. This change simplifies the initial configuration for users by preparing a default configuration file that is ready to be customized, reducing setup complexity and potential errors. Users now directly edit the `config.php` file for module configuration, enhancing clarity and easing the setup process.
2024-04-27 07:56:10 +02:00
1b3ffbd923
docs: Update installation instructions for OIDC module
Enhanced the README to include steps for navigating into the cloned repository and executing `composer install`, ensuring dependencies are correctly installed post-cloning. This addition clarifies the setup process for new installations, preventing potential confusion or issues arising from missing dependencies.
2024-04-27 07:55:10 +02:00
28ae0b2761
feat: add OIDC admin login for WHMCS
Introduces a new OIDC (OpenID Connect) based authentication mechanism for WHMCS admins, allowing secure logins using an external OIDC provider. This commit adds necessary configuration files, updates the .gitignore to exclude vendor-specific files and the config.php, adds a LICENSE file, and outlines the installation and usage in the README.md. The key functionalities include setting up an OIDC client with the required scopes and handling user authentication and session management within WHMCS.

This enhancement leverages openid-connect-php library for OIDC interactions and streamlines admin login processes, aiming to improve security and ease of use by integrating with modern identity providers.

Note: This module is a proof of concept and should be used cautiously in production environments.
2024-04-26 19:00:54 +02:00