Closed tohuwabohu-io closed 2 weeks ago
The session management works fine. It turns out that Firefox enabled the rejection of cookies which have same-site=none without the secure flag. For local development this makes sense, but I am irritated by the behaviour on prod. The secure flag should be set automatically in FormBasedAuthenticationMechanism when SSL is enabled.
To make it work, go to about:config and set network.cookie.sameSite.noneRequiresSecure to false.
During debugging, I noticed that the old auth cookie being sent albeit a new one being generated after login. It was easy to miss the console logs in the browser due to the dashboard redirect.
Two options:
Either way, I prefer not to set browser config properties when testing locally.
I set the same-site attribute to strict now.
As far as the PWA goes, I set theme_color
and background_color
, and replaced the whitespace of the font names with hyphens.
Is your feature request related to a problem? Please describe. After the last release, I observed the following:
Describe the solution you'd like Investigate the issues above.
Additional context The display issues should be controlled by the PWA manifest. For the session stuff, the service worker could be the culprit.