aryan Posted June 3, 2018 Share Posted June 3, 2018 Hello, We have integrated WHMCS on our website using API to ValidateLogin it works fine for all users the issue is if the user has enabled Two-Factor Authentication the login from API directly logging in to WHMCS without asking the Two-Factor Authentication steps. While if they log in from WHMCS it ask for Two-Factor Authentication. Any idea why for API login it doesnt takes them to Two-Factor Authentication? Or any URL that i redirect the users if the Two-Factor Authentication enabled so they can verify their then can login to whmcs? Regards, 0 Quote Link to comment Share on other sites More sharing options...
Daniyal Javani Posted July 19, 2021 Share Posted July 19, 2021 Any response after 3 years!? 0 Quote Link to comment Share on other sites More sharing options...
addin Posted January 6, 2022 Share Posted January 6, 2022 i need to,, i try to make standalone 2FA in my client site. with package speakeasy node js. if 2fa has been active i see tblclients have autmodule = totp, and authdata = some serialize array like : Array ( [tokendata] => YTo2OntzOjg6InRva2Vua2V5IjtzOjIwOiI2M2NlYmI0ZmQ3NzNjMWIxZDQ4NiI7czo5OiJ0b2tlbnR5cGUiO3M6NDoiVE9UUCI7czoxMDoidG9rZW50aW1lciI7aTozMDtzOjEyOiJ0b2tlbmNvdW50ZXIiO2k6MTtzOjE0OiJ0b2tlbmFsZ29yaXRobSI7czo0OiJTSEExIjtzOjQ6InVzZXIiO3M6MDoiIjt9 [backupcode] => 5d4eba1f404724c0b815d4b12101ecec958c4a32 ) i can decode backupcode with sha1() but how to to decode or decrypt tokendata ? 0 Quote Link to comment Share on other sites More sharing options...
addin Posted January 10, 2022 Share Posted January 10, 2022 On 1/6/2022 at 3:52 PM, addin said: i need to,, i try to make standalone 2FA in my client site. with package speakeasy node js. if 2fa has been active i see tblclients have autmodule = totp, and authdata = some serialize array like : Array ( [tokendata] => YTo2OntzOjg6InRva2Vua2V5IjtzOjIwOiI2M2NlYmI0ZmQ3NzNjMWIxZDQ4NiI7czo5OiJ0b2tlbnR5cGUiO3M6NDoiVE9UUCI7czoxMDoidG9rZW50aW1lciI7aTozMDtzOjEyOiJ0b2tlbmNvdW50ZXIiO2k6MTtzOjE0OiJ0b2tlbmFsZ29yaXRobSI7czo0OiJTSEExIjtzOjQ6InVzZXIiO3M6MDoiIjt9 [backupcode] => 5d4eba1f404724c0b815d4b12101ecec958c4a32 ) i can decode backupcode with sha1() but how to to decode or decrypt tokendata ? now, i can generate manual 2FA code with this, but not yet to verify between my app with whmcs 🙂 0 Quote Link to comment Share on other sites More sharing options...
NetFire tec Posted April 8, 2022 Share Posted April 8, 2022 Hello my name is Leandro de França, I'm talking about Brazil! Have any of you built API so customers can: - Get Billing Information and Credits - Add Credits - Buy products - Use features of the module linked to the product (Suspend, Reactivate, Restart, Update password)? I need these resources! If anyone can help me in a paid way, please contact me via Telegram: Leandro de Françahttps://t.me/LeandroDeFranca 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.