{"id":1692,"date":"2016-04-02T03:51:22","date_gmt":"2016-04-02T09:51:22","guid":{"rendered":"http:\/\/www.supportpro.com\/blog\/?p=1692"},"modified":"2019-10-30T00:54:27","modified_gmt":"2019-10-30T06:54:27","slug":"external-authentication-techniques-available-with-cpanel","status":"publish","type":"post","link":"https:\/\/www.supportpro.com\/blog\/external-authentication-techniques-available-with-cpanel\/","title":{"rendered":"External Authentication Techniques Available With cPanel"},"content":{"rendered":"<p>The<strong><i> Manage External Authentications <\/i><\/strong>interface in WHM allows you to manage the OpenID Connect-compliant identity providers that your server&#8217;s users can use to log in to cPanel, WHM, or Webmail.<\/p>\n<p>Today let see the common external authentication techniques available with cPanel and how to enable\/disable these features :<\/p>\n<p><span style=\"text-decoration: underline;\"><b>1] External Authentication Via cPanelID<\/b><\/span><\/p>\n<p>-&gt; Steps for enabling and disabling WHM authentication via cPanelID as follows.<\/p>\n<p><span style=\"text-decoration: underline;\">Configuring The External Authentication Via cPanelID<\/span><\/p>\n<p>-&gt; Log into WHM as root<\/p>\n<p>-&gt; Navigate to Security Center &gt;&gt; Manage External Authentications<!--more--><\/p>\n<p><a class=\"lightbox\" href=\"https:\/\/www.supportpro.com\/serveradministration.php\" rel=\"attachment wp-att-1693\"><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone wp-image-1693 size-full\" src=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2016\/04\/1.jpg\" alt=\"Dashboard of WHM\" width=\"878\" height=\"420\" srcset=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2016\/04\/1.jpg 878w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2016\/04\/1-300x144.jpg 300w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2016\/04\/1-768x367.jpg 768w\" sizes=\"(max-width: 878px) 100vw, 878px\" \/><\/a><\/p>\n<p>-&gt; Select the Configure tab<\/p>\n<p><a class=\"lightbox\" href=\"https:\/\/www.supportpro.com\/serveradministration.php\" rel=\"attachment wp-att-1694\"><img decoding=\"async\" class=\"alignnone wp-image-1694 size-full\" src=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2016\/04\/2.jpg\" alt=\"Configuration Tab of WHM\" width=\"868\" height=\"440\" srcset=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2016\/04\/2.jpg 868w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2016\/04\/2-300x152.jpg 300w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2016\/04\/2-768x389.jpg 768w\" sizes=\"(max-width: 868px) 100vw, 868px\" \/><\/a><\/p>\n<p>-&gt; Then click on the configure option. Use the default entries and save.<\/p>\n<p><a class=\"lightbox\" href=\"https:\/\/www.supportpro.com\/freecheckup.php\" rel=\"attachment wp-att-1695\"><img decoding=\"async\" class=\"alignnone wp-image-1695 size-full\" src=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2016\/04\/3.jpg\" alt=\" Default entries tab of WHM\" width=\"869\" height=\"424\" srcset=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2016\/04\/3.jpg 869w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2016\/04\/3-300x146.jpg 300w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2016\/04\/3-768x375.jpg 768w\" sizes=\"(max-width: 869px) 100vw, 869px\" \/><\/a><\/p>\n<p>-&gt; Log out from the current session and re-login via cPanelID<\/p>\n<p><a class=\"lightbox\" href=\"https:\/\/www.supportpro.com\/freecheckup.php\" rel=\"attachment wp-att-1696\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1696 size-full\" src=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2016\/04\/4.jpg\" alt=\"Login panel of WHM\" width=\"820\" height=\"644\" srcset=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2016\/04\/4.jpg 820w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2016\/04\/4-300x236.jpg 300w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2016\/04\/4-768x603.jpg 768w\" sizes=\"(max-width: 820px) 100vw, 820px\" \/><\/a><\/p>\n<p>-&gt; Create a new account. For that require a valid email address<\/p>\n<p>-&gt; After providing the valid email address and click on the send password then an activation link will send to the user\u2019s email which is mentioned.<\/p>\n<p><a class=\"lightbox\" href=\"https:\/\/www.supportpro.com\/freecheckup.php\" rel=\"attachment wp-att-1697\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1697 size-full\" src=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2016\/04\/5.jpg\" alt=\"Signup page\" width=\"822\" height=\"393\" srcset=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2016\/04\/5.jpg 822w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2016\/04\/5-300x143.jpg 300w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2016\/04\/5-768x367.jpg 768w\" sizes=\"(max-width: 822px) 100vw, 822px\" \/><\/a><\/p>\n<p>-&gt; Login to the mail and access the activation link to generate the password.<\/p>\n<p>-&gt; Once the password is obtained, use that password to login to both cPanel customer portal and cPanelID account.<\/p>\n<p>-&gt; From the cPanelID account, a unique cPanelID will display and asks for Approve or Deny. Choose the Approve option.<\/p>\n<p><a class=\"lightbox\" href=\"https:\/\/www.supportpro.com\/serveradministration.php\" rel=\"attachment wp-att-1698\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1698 size-full\" src=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2016\/04\/6.jpg\" alt=\"Unique cPanelID tab\" width=\"820\" height=\"301\" srcset=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2016\/04\/6.jpg 820w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2016\/04\/6-300x110.jpg 300w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2016\/04\/6-768x282.jpg 768w\" sizes=\"(max-width: 820px) 100vw, 820px\" \/><\/a><\/p>\n<p>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.<\/p>\n<p>Here onwards the WHM, cPanel and Webmail are accessed by the cPanelID.<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"text-decoration: underline;\"><b>To Disable This Feature.<\/b><\/span><\/p>\n<p>-&gt; This feature can be disabled by moving the slider from right to left.<\/p>\n<p><a class=\"lightbox\" href=\"https:\/\/www.supportpro.com\/serveradministration.php\" rel=\"attachment wp-att-1699\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1699 size-full\" src=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2016\/04\/7.jpg\" alt=\"Disable screen\" width=\"830\" height=\"408\" srcset=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2016\/04\/7.jpg 830w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2016\/04\/7-300x147.jpg 300w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2016\/04\/7-768x378.jpg 768w\" sizes=\"(max-width: 830px) 100vw, 830px\" \/><\/a><\/p>\n<p><span style=\"text-decoration: underline;\"><b>2] External Authentication Via WHMCS As OpenID Connect Authentication Provider<\/b><\/span><\/p>\n<p>Before doing this ensure you are running cPanel\/WHM Version 54 or later<\/p>\n<p>OpenID Connect requires a \u00a0certificate authority verified SSL certificate installed on the cPanel\/WHM service ports and for the WHMCS installation.<\/p>\n<p>Configuration steps as follows:<\/p>\n<ol>\n<li>Log into WHM as root<\/li>\n<li>Navigate to Security Center &gt;&gt; Manage External Authentications<\/li>\n<li>Select the Configure tab<\/li>\n<li>Under the Authentication Providers heading, locate Log in via WHMCS<\/li>\n<\/ol>\n<p><a class=\"lightbox\" href=\"https:\/\/www.supportpro.com\/requestquote.php\" rel=\"attachment wp-att-1700\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1700 size-full\" src=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2016\/04\/8.jpg\" alt=\"Enabling External Authentication\" width=\"813\" height=\"408\" srcset=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2016\/04\/8.jpg 813w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2016\/04\/8-300x151.jpg 300w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2016\/04\/8-768x385.jpg 768w\" sizes=\"(max-width: 813px) 100vw, 813px\" \/><\/a><\/p>\n<ol start=\"5\">\n<li>Click the Configure button<\/li>\n<\/ol>\n<ol start=\"6\">\n<li>Copy the Redirect URI that contains the cPanel, and WHM port number (2083, 2087)<\/li>\n<\/ol>\n<ol start=\"7\">\n<li>Now login to your WHMCS Admin Area<\/li>\n<\/ol>\n<ol start=\"8\">\n<li>Navigate to Setup &gt;&gt; OpenID Connect<\/li>\n<li>Click the Generate New Client API Credentials button<\/li>\n<\/ol>\n<ol start=\"10\">\n<li>Enter a name for this OpenID Credential Set as follows<\/li>\n<\/ol>\n<p>Application Name: cPanel<\/p>\n<p>Description: hostname.example.com<\/p>\n<p>Logo URI: \/modules\/servers\/cpanel\/logo.png<\/p>\n<p>Redirect URI: (the URI which is used in the step6)<\/p>\n<ol start=\"11\">\n<li>Once all fields have been filled out, click the Generate Credentials button<\/li>\n<\/ol>\n<ol start=\"12\">\n<li>The page will re-load and display the generated Client API Credentials to you<\/li>\n<\/ol>\n<ol start=\"13\">\n<li>Copy the generated Client ID and Client Secret from here and paste them into the appropriate\u00a0 fields within the WHM WHMCS External Authentication Provider Configuration interface<\/li>\n<\/ol>\n<ol start=\"14\">\n<li>In the Well Known Config URI field, enter\u00a0 https:\/\/www.example.com\/whmcs\/oauth\/openid-configuration.php, replacing https:\/\/www.example.com\/whmcs with your WHMCS System SSL URL<\/li>\n<\/ol>\n<ol start=\"15\">\n<li>Finally, tick the box to confirm you have used the Redirect URIs as provided, and then click \u00a0 Save to complete the process.<\/li>\n<\/ol>\n<ol start=\"16\">\n<li>Slide the toggle switch for the Status (cpaneld) to Enabled. This will show the \u201cLogin via WHMCS&#8221; button on the cPanel login page.<\/li>\n<\/ol>\n<p><span style=\"text-decoration: underline;\"><strong>Initial Login Setup<\/strong><\/span><\/p>\n<ol>\n<li>Click the Log in via WHMCS button on the cPanel login page.<\/li>\n<\/ol>\n<ol start=\"2\">\n<li>You should be redirected to your WHMCS installation&#8217;s Authentication and Authorization page.<\/li>\n<\/ol>\n<ol start=\"3\">\n<li>Login with a valid client area email address and password.<\/li>\n<\/ol>\n<ol start=\"4\">\n<li>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 Account<a class=\"lightbox\" href=\"https:\/\/www.supportpro.com\/requestquote.php\" rel=\"attachment wp-att-1701\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1701\" src=\"http:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2016\/04\/9.jpg\" alt=\"Permission Page of WHM\" width=\"844\" height=\"614\" srcset=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2016\/04\/9.jpg 844w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2016\/04\/9-300x218.jpg 300w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2016\/04\/9-768x559.jpg 768w\" sizes=\"(max-width: 844px) 100vw, 844px\" \/><\/a><\/li>\n<li>This authorization page is only displayed the first time a user requests to login using their<\/li>\n<\/ol>\n<ol start=\"6\">\n<li>WHMCS Billing Account Credentials.<\/li>\n<\/ol>\n<ol start=\"7\">\n<li>Upon clicking Authorize the user is returned to cPanel.<\/li>\n<\/ol>\n<p>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 &amp; Support Client Account, which was just authenticated and authorized.<\/p>\n<p><span style=\"text-decoration: underline;\"><strong>Disable WHMCS Authentication<\/strong><\/span><\/p>\n<p>This feature can be disabled by moving the slider from right to left from <b>WHM &gt; Manage External Authentications &gt; Configure <\/b><\/p>\n<p>If you require help, <a href=\"https:\/\/www.supportpro.com\/requestquote.php\">contact SupportPRO Server Admin\u00a0<\/a><\/p>\n<p style=\"text-align: center;\"><!--HubSpot Call-to-Action Code --><span id=\"hs-cta-wrapper-9d590242-d641-4383-94b4-8cfd62f0af6b\" class=\"hs-cta-wrapper\"><span id=\"hs-cta-9d590242-d641-4383-94b4-8cfd62f0af6b\" class=\"hs-cta-node hs-cta-9d590242-d641-4383-94b4-8cfd62f0af6b\"><!-- [if lte IE 8]><\/p>\n\n\n\n\n\n<div id=\"hs-cta-ie-element\"><\/div>\n\n\n<![endif]--><a href=\"https:\/\/www.supportpro.com\/requestquote.php\"><img decoding=\"async\" id=\"hs-cta-img-9d590242-d641-4383-94b4-8cfd62f0af6b\" class=\"hs-cta-img\" style=\"border-width: 0px;\" src=\"https:\/\/no-cache.hubspot.com\/cta\/default\/2725694\/9d590242-d641-4383-94b4-8cfd62f0af6b.png\" alt=\"Server not running properly? Get A FREE Server Checkup By Expert Server Admins - $125 Value\" \/><\/a><\/span><script charset=\"utf-8\" src=\"https:\/\/js.hscta.net\/cta\/current.js\"><\/script><script type=\"text\/javascript\"> hbspt.cta.load(2725694, '9d590242-d641-4383-94b4-8cfd62f0af6b', {}); <\/script><\/span><!-- end HubSpot Call-to-Action Code --><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Manage External Authentications interface in WHM allows you to manage the OpenID Connect-compliant identity providers that your server&#8217;s users can use to log in to cPanel, WHM, or Webmail.&hellip;<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"categories":[5,6],"tags":[],"class_list":["post-1692","post","type-post","status-publish","format-standard","hentry","category-general-topics","category-linux-basics"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/1692","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/comments?post=1692"}],"version-history":[{"count":6,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/1692\/revisions"}],"predecessor-version":[{"id":4154,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/1692\/revisions\/4154"}],"wp:attachment":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/media?parent=1692"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/categories?post=1692"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/tags?post=1692"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}