HamzaBacha Posted July 26, 2022 Share Posted July 26, 2022 how to login to client login .No redirect to log in page, 0 Quote Link to comment Share on other sites More sharing options...
JustGoHosting Posted July 31, 2022 Share Posted July 31, 2022 Can you please detail what you are after abit more, if you want to login as the client you can goto the clients profile on the admin area then click "login as client" Thank 0 Quote Link to comment Share on other sites More sharing options...
zachary96h Posted August 4, 2022 Share Posted August 4, 2022 On 7/31/2022 at 10:53 AM, JustGoHosting said: Can you please detail what you are after abit more, if you want to login as the client you can goto the clients profile on the admin area then click "login as client" Thank Hi, I would like to use this method from another webpage by using WHMCS Admin API. How could I do? 0 Quote Link to comment Share on other sites More sharing options...
Raju Gupta Posted August 25, 2022 Share Posted August 25, 2022 Hi, As I understand, You want to login as client in whmcs from the external website ( third party). There is an method called "AutoAuth". Here is example code. Quote <?php $whmcsurl = "https://www.example.com/dologin.php"; $autoauthkey = "auto_auth_key_goes_here"; $timestamp = time(); // Get current timestamp $email = 'demo@whmcs.com'; // Clients Email Address to Login $goto = 'clientarea.php?action=products'; $hash = sha1($email . $timestamp . $autoauthkey); // Generate Hash // Generate AutoAuth URL & Redirect $url = $whmcsurl . "?email=$email×tamp=$timestamp&hash=$hash&goto=" . urlencode($goto); header("Location: $url"); exit; You can get more info https://docs.whmcs.com/AutoAuth 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.