Closed signebedi closed 8 months ago
This results in a few issues when running the development server:
When setting secure to True in dev on Firefox:
Cookie “session” has been rejected because a non-HTTPS cookie can’t be set as “secure”.
When setting secure to False in dev on Firefox:
Cookie “session” will be soon rejected because it has the “SameSite” attribute set to “None” without the “secure” attribute. To know more about the “SameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite
We should set the following config defaults (in production; set SECURE to default to False in all other envs)
Ref: