There is a new google chrome update that is rejecting cookies with the following message:
This Set-Cookie was blocked because it had the “SameSite=None” attribute but did not have the “Secure” attribute, which is required in order to use “SameSite=None”.
Thank you so much for the tip. Should I be able to make a similar change to https://github.com/edx/edx-platform/pull/24593/files? We’re using our forked version of edx-platform. I’m just wondering what exact env file to use. Is it devstack.py or other file?
Hello @nachham,
editing those files is not the tutor way to go. So I’ve created a plugin so the change persist between rebuilds.
To install/use it please follow:
tutor plugins install https://gist.githubusercontent.com/juansele/23540d016918d31755b05ccf1bdd4afc/raw/4ce2ab173e7f8bbbbce12acd178c32d6f48c5c44/tempchromecsrffix.yml
tutor plugins enable tempchromecsrffix
tutor config save
tutor local reboot
Just for the sake of clarity, in the case you want to make the edits manually:
It is a python file so you can use either single or double quotes.
We are editing files within a “docker volume”, so all you need to do is tutor local restart cms. However those files are dynamically generated and overwritten when you do a tutor config save (which tutor local quickstart performs).
Hi! I’m jumping in this conversation a little late, but I wonder if the default Tutor production settings should be modified.
Can someone please clarify:
Which version of Tutor are you running?
How to reproduce the issue?
Are you quite sure that setting DCS_SESSION_COOKIE_SAMESITE = 'Lax' is the right thing to do? The name of this value (“lax”) would imply that this is meant only for development, not production.
Thanks for the report everyone. This will be fixed in the next release of Tutor (v10.2.0). The “right” fix consists of adding the following entries to the LMS production settings when HTTPS is enabled: