CPanel Single Sign-On

From WHMCS Documentation

Revision as of 18:59, 30 September 2021 by SarahK (talk | contribs)

Single Sign-On allows users to transition from WHMCS to the cPanel or WHM interfaces without having to re-authenticate.

Use this in the Client Area to log in to:

  • cPanel for shared hosting accounts.
  • WHM for reseller hosting accounts.

Use this in the Admin Area to log in to:

  • cPanel for shared hosting accounts.
  • WHM for reseller hosting accounts.
  • WHM for all cPanel servers configured in the WHMCS installation.

For more information, see WHMCS Connect.

Requirements

To use this feature, you must be running a modern version of cPanel & WHM.

Permissions

All clients can perform single sign-on into any of their hosting accounts.

Admins can control access to single sign-on functionality on a per-server and per-admin user group basis. For example, you can allow users of admin role group 1 to perform Single Sign-On for servers 1 and 3, while users of admin role group 2 can only perform Single Sign-On to server 2.

To configure server permissions:

  1. Go to Configuration () > System Settings > Servers or, prior to WHMCS 8.0, Setup > Servers.
  2. Edit the server.
  3. Under SSO Access Control, select Restricted for Access Control.
  4. Choose the admin role groups to allow to use single sign-on.

Sso-permissions.png

Customising Single Sign-On Shortcuts

Products that use the cPanel module and a WHMCS 6-compatible theme will see the Client Area interface below in WHMCS 6.0 and later. Taking full advantage of the Single Sign-On integration between our two products, this new system theme is designed to provide your clients with an easy and convenient way to access many of the most commonly used functionalities of cPanel & WHM, all directly from within your WHMCS member portal.

What your end users see is controlled by the /modules/servers/cpanel/templates/overview.tpl file and can be customised to remove any features or functionality you don't wish your users to have access to.

See Working with Module Templates for more information on customising the system theme template.

Whmcs-cpanel-client-area-v6.png

Caveats

cPanel Single Sign-On can be performed for any user owned by the WHM user configured for a cPanel server within the WHMCS installation. In the case of a WHM reseller account, what this means is that if you do not own your own account you will not be able to perform Single Sign-On into it. Attempting to login will result in the error " Action Failed Unable to auto-login. Please contact support".