Home General Topics External Authentication Techniques Available With cPanel

External Authentication Techniques Available With cPanel

by Bella

The Manage External Authentications interface in WHM allows you to manage the OpenID Connect-compliant identity providers that your server’s users can use to log in to cPanel, WHM, or Webmail.

Today let see the common external authentication techniques available with cPanel and how to enable/disable these features :

1] External Authentication Via cPanelID

-> Steps for enabling and disabling WHM authentication via cPanelID as follows.

Configuring The External Authentication Via cPanelID

-> Log into WHM as root

-> Navigate to Security Center >> Manage External Authentications

Dashboard of WHM

-> Select the Configure tab

Configuration Tab of WHM

-> Then click on the configure option. Use the default entries and save.

 Default entries tab of WHM

-> Log out from the current session and re-login via cPanelID

Login panel of WHM

-> Create a new account. For that require a valid email address

-> After providing the valid email address and click on the send password then an activation link will send to the user’s email which is mentioned.

Signup page

-> Login to the mail and access the activation link to generate the password.

-> Once the password is obtained, use that password to login to both cPanel customer portal and cPanelID account.

-> From the cPanelID account, a unique cPanelID will display and asks for Approve or Deny. Choose the Approve option.

Unique cPanelID tab

Now the browser will take you back to WHM, here it shows the mentioned email id is not associated with the existing WHM account. To achieve this login to the WHM.

Here onwards the WHM, cPanel and Webmail are accessed by the cPanelID.

 

To Disable This Feature.

-> This feature can be disabled by moving the slider from right to left.

Disable screen

2] External Authentication Via WHMCS As OpenID Connect Authentication Provider

Before doing this ensure you are running cPanel/WHM Version 54 or later

OpenID Connect requires a  certificate authority verified SSL certificate installed on the cPanel/WHM service ports and for the WHMCS installation.

Configuration steps as follows:

  1. Log into WHM as root
  2. Navigate to Security Center >> Manage External Authentications
  3. Select the Configure tab
  4. Under the Authentication Providers heading, locate Log in via WHMCS

Enabling External Authentication

  1. Click the Configure button
  1. Copy the Redirect URI that contains the cPanel, and WHM port number (2083, 2087)
  1. Now login to your WHMCS Admin Area
  1. Navigate to Setup >> OpenID Connect
  2. Click the Generate New Client API Credentials button
  1. Enter a name for this OpenID Credential Set as follows

Application Name: cPanel

Description: hostname.example.com

Logo URI: /modules/servers/cpanel/logo.png

Redirect URI: (the URI which is used in the step6)

  1. Once all fields have been filled out, click the Generate Credentials button
  1. The page will re-load and display the generated Client API Credentials to you
  1. Copy the generated Client ID and Client Secret from here and paste them into the appropriate  fields within the WHM WHMCS External Authentication Provider Configuration interface
  1. In the Well Known Config URI field, enter  https://www.example.com/whmcs/oauth/openid-configuration.php, replacing https://www.example.com/whmcs with your WHMCS System SSL URL
  1. Finally, tick the box to confirm you have used the Redirect URIs as provided, and then click   Save to complete the process.
  1. Slide the toggle switch for the Status (cpaneld) to Enabled. This will show the “Login via WHMCS” button on the cPanel login page.

Initial Login Setup

  1. Click the Log in via WHMCS button on the cPanel login page.
  1. You should be redirected to your WHMCS installation’s Authentication and Authorization page.
  1. Login with a valid client area email address and password.
  1. You should then see a screen like an image below requesting permission to provide the cPanel server the minimum amount of information required to associate the cPanel account and the WHMCS Billing AccountPermission Page of WHM
  2. This authorization page is only displayed the first time a user requests to login using their
  1. WHMCS Billing Account Credentials.
  1. Upon clicking Authorize the user is returned to cPanel.

The first time a user does this they will not be logged in to cPanel immediately. cPanel will prompt the user for the cPanel username and password they wish to pair up with the WHMCS Billing & Support Client Account, which was just authenticated and authorized.

Disable WHMCS Authentication

This feature can be disabled by moving the slider from right to left from WHM > Manage External Authentications > Configure

If you require help, contact SupportPRO Server Admin 

Server not running properly? Get A FREE Server Checkup By Expert Server Admins - $125 Value

Leave a Comment

CONTACT US

Sales and Support

Phone: 1-(847) 607-6123
Fax: 1-(847)-620-0626
Sales: sales@supportpro.com
Support: clients@supportpro.com
Skype ID: sales_supportpro

Postal Address

1020 Milwaukee Ave, #245,
Deerfield, IL-60015
USA

©2022  SupportPRO.com. All Rights Reserved