You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using SSR sites with GraphCDN, we need to set the domain for cookies to .example.com, which isn't possible with Flywheel as they hard code the define() for COOKIE_DOMAIN to be the "WordPress Address (URL)".
So, I'd like to bring that code into the /functions directory, and upgrade it to use a settings field for the cookie domain. We have to be careful that we don't make it easy to allow the cookies to be set on a domain like "flywheelsites.com".
The text was updated successfully, but these errors were encountered:
drewbaker
changed the title
Integrate cookie plugin into theme
Integrate cookie plugin into theme for better GraphCDN support
Feb 22, 2022
This is a plugin we currently use: https://github.com/MikhailRoot/samesite-cookie-manager/archive/refs/heads/master.zip
When using SSR sites with GraphCDN, we need to set the domain for cookies to
.example.com
, which isn't possible with Flywheel as they hard code the define() forCOOKIE_DOMAIN
to be the "WordPress Address (URL)".So, I'd like to bring that code into the
/functions
directory, and upgrade it to use a settings field for the cookie domain. We have to be careful that we don't make it easy to allow the cookies to be set on a domain like "flywheelsites.com".The text was updated successfully, but these errors were encountered: