SindreM Posted January 23, 2015 Share Posted January 23, 2015 We are currently registering and authenticating users outside our WHMCS install, and wants to use the AutoAuth feature to automatically log in the user to WHMCS. I have been able to successfully generate the autoauth url with the hash etc. and it works if I paste the url in a browser. However, instead we want to do this server-side with Curl and just redirect the user to WHMCS with Javascript. The curl request returns successfully (200), however, when navigating to the client area the user is not logged in. What is the best way to do this? Do I need to redirect the user to the autologin url with either Javascript or PHP header('Location: ...') to make the session stick? 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.