James G Posted June 30, 2022 Share Posted June 30, 2022 Hi there, This surely can be done somehow, surely. I have WHMCS embbeded in an iFrame and it works perfectly untill I go to login, then it gives me this error: Invalid CSRF Token I understand its a security issue or something but there must be a way around this, or something I can build to make this happen. Im willing to pay someone to fix this for me permenantly. 0 Quote Link to comment Share on other sites More sharing options...
ColumbusSoft Posted June 18, 2023 Share Posted June 18, 2023 I was able to fix it by setting the configuration.php : if( ini_set('session.cookie_samesite', 'None') || session_set_cookie_params(['samesite' => 'None']) ) { session_name("WHMCS"); } If you were for real and want to pay me my CashApp and Venmo are both NeoNos with their respective begining characters $/@. Also make sur e your are on HTTPS on both frame and parent, also no weird/strict security policies should be set. 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.