Configure WHMCS as an OAuth/OpenId Connect Server in Joomla
miniOrange Joomla OAuth/OpenID plugin gives the ability to enable OAuth/OpenID Single Sign On for Joomla site. Joomla OAuth Client plugin is compatible with all OAuth/OpenID Providers. Here we will go through a guide to configure SSO between Joomla and WHMCS. By the end of this guide, WHMCS users should be able to login and register to Joomla site.
If you have any doubts or queries you can contact us at firstname.lastname@example.org. We will help you to configure the plugin.
Step 1: Install OAuth Client plugin. (If you have already installed the plugin, you can skip to step 2)
Download the zip file of the miniOrange OAuth Client plugin for Joomla from the link here.
Login into your Joomla site’s administrator console.
Go to Extension Manage Install in the top navigation bar to install the plugin.
Upload the downloaded zip file to install the OAuth Client plugin.
You will be presented with following screen. Go to Setup -> OpenID Connect on the navigation bar on top.
Click on Generate New Client API Credentials button.
You will be redirected to the app details page. Fill in the required details and enter Authorized Redirect URIs from miniOrange Oauth Client plugin which you copied in the last step and click on Generate Credentials.
You will be brought to App details page. Here, you can find Client ID and Client Secret
Copy these credentials and keep it handy because you will need it in the next step.
You have successfully completed your WHMCS App OAuth Server side configurations.
Paste the Client ID and Client Secret which you copied in the last step and save it in the respective fields and then click on the Test Configuration button.
Now copy the email and name attributes you got in the test configuration and save these attributes in Email Attribute and Username Attribute text field respectively. Now click on the Save Attribute Mapping button to save your configurations.
You would find appropriate URL for performing the SSO after selecting the OAuth/OpenID Connect provider in the Login URL field (After completing test configuration please copy the Login URL and Add a button on your site login page).
Now logout and go to your Joomla site's pages where you have added this link. You will see a login link where you placed that button.
Congratulations, you have successfully configured the miniOrange OAuth Client plugin with your desired OAuth Provider.
Click on the Upgrade Plans tab to check out our complete list of features and various licensing plans.
If you want to purchase any of the paid version of the plugin, you have to register/login with us in Account Setup tab.
In case, you are facing some issue or have any question in mind, you can reach out to us by sending us your query through the Support button in the plugin or by sending us a mail at email@example.com.