dzulu Posted April 6, 2021 Share Posted April 6, 2021 Hi everyone, I'm trying to edit my module to be compatible with the last version of WHMCS. I nevertheless have a problem. My module is authenticating users via Social networks. In the past we could set the session UID and UPW, but now WHMCS has included a new SESSION data login_auth_tk. This SESSION data is a json_encoded array of several parameters : id, email, password, userip, timestamp and hash. I could 0, almost all parameters except the hash. What are the data used in the hash field ? I tried a lot of combination without finding the good one. In the past, we used generateClientLoginHash to generate the Client hash, but how do we generate this user hash ? Thank you. Regards, 0 Quote Link to comment Share on other sites More sharing options...
dzulu Posted April 26, 2021 Author Share Posted April 26, 2021 Nobody have an idea ? 0 Quote Link to comment Share on other sites More sharing options...
Achhar Singh Posted December 8, 2022 Share Posted December 8, 2022 Hi, You can try using the "CreateSsoToken" api instead of hard coding for all these params. https://developers.whmcs.com/api-reference/createssotoken/ Thanks, 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.