punit2502 Posted August 6, 2016 Share Posted August 6, 2016 Hello, My cpanel is being installed on cpanel.mydomain.com whereas my whmcs is installed on mydomain.com Whenever my clients are trying to use actions in client portal like login to cpanel or login to webmail or using quick shortcuts, they get an error: Action Failed Unable to auto-login. Please contact support. Please help! 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted August 6, 2016 Share Posted August 6, 2016 http://docs.whmcs.com/CPanel_Single_Sign-On 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". you could use an action hook to change the links, but then you lose the SSO facility and the client would need to log into their cPanel account with their username and password. http://forum.whmcs.com/showthread.php?104894-Login-to-cPanel-amp-Webmail-on-Client-Product-Details&p=432807#post432807 0 Quote Link to comment Share on other sites More sharing options...
punit2502 Posted August 6, 2016 Author Share Posted August 6, 2016 http://docs.whmcs.com/CPanel_Single_Sign-On you could use an action hook to change the links, but then you lose the SSO facility and the client would need to log into their cPanel account with their username and password. http://forum.whmcs.com/showthread.php?104894-Login-to-cPanel-amp-Webmail-on-Client-Product-Details&p=432807#post432807 Sorry but I am new to it. Can you please give me the exact code and what should I name it and where should I I upload it 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted August 9, 2016 WHMCS Support Manager Share Posted August 9, 2016 Hi, In WHMCS v6.0 the software uses the cPanel API to facilitate logging in to cPanel/WHM and also the new cPanel functionality from the WHMCS product details page. This relies upon the create_user_session function in the cPanel API: https://documentation.cpanel.net/display/SDK/WHM+API+1+Functions+-+create_user_session WHMCS will use the url that is returned by the cPanel API on your server to login to cPanel/WHM. It may be possible to change the url returned by the cPanel API, but it would be necessary to contact cPanel support directly to see whether that's something that can be changed at their end. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.