Kumi
07d80ba0af
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. |
||
---|---|---|
.gitignore | ||
composer.json | ||
composer.lock | ||
config.dist.php | ||
LICENSE | ||
oidc_admin_login.php | ||
README.md |
Simple WHMCS OIDC Admin Login
This is a simple WHMCS OIDC Admin Login module that allows WHMCS administrators to login to the WHMCS admin area using an OIDC provider.
It is not a full-fledged WHMCS module (yet), but so far only a script that allows WHMCS administrators to login to the WHMCS admin area using an OIDC provider.
Disclaimer
The module was developed as a proof of concept and is not intended for production use. It may have security vulnerabilities and may not work as expected.
This module is provided as-is, not supported, and not endorsed by WHMCS. Use it at your own risk.
Installation
- Install the module by uploading it to your WHMCS installation directory.
cd /path/to/whmcs/modules/security
git clone https://git.private.coffee/kumisystems/whmcs-oidc_admin_login.git
cd whmcs-oidc_admin_login
composer install
cp config.dist.php config.php
- Configure the module by editing the
config.php
file.
Usage
You can access the OIDC Admin Login page by visiting the following URL:
https://your-whmcs-domain.com/modules/security/oidc_admin_login.php
If you are not logged in, you will be redirected to the OIDC provider login page. After you have logged in, you will be redirected back to the WHMCS admin area.
License
This module is licensed under the MIT License. See the LICENSE file for details.