runescapejon
Member
Hello,
I am on XF 2.1 and recently just updated to 2.1.11 I was developing an Iframe to display another website. Everything went okay until website I was using Iframe on displayed an error "The CSRF token is invalid. Please try to resubmit the form." After tons of research, I learned that this is caused by Iframe's requests was not sending cookies. Look into deeply and it's caused by SameSites default to Lax for chromes. This is where the root of the issue, how would I set SameSites to none for XF 2.1? So, that I may have my Iframe website working correctly. Would there be any issues in doing so? I read up by changing it, it would cause some security issues.
Thank you.
I am on XF 2.1 and recently just updated to 2.1.11 I was developing an Iframe to display another website. Everything went okay until website I was using Iframe on displayed an error "The CSRF token is invalid. Please try to resubmit the form." After tons of research, I learned that this is caused by Iframe's requests was not sending cookies. Look into deeply and it's caused by SameSites default to Lax for chromes. This is where the root of the issue, how would I set SameSites to none for XF 2.1? So, that I may have my Iframe website working correctly. Would there be any issues in doing so? I read up by changing it, it would cause some security issues.
Thank you.
Last edited: