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
Because the socket session id is set as a SameSite None cookie without secure, it gets removed by Firefox.
This means this entire library does not work with current versions of Firefox when the frontend client is hosted separately from the backend sails.js framework.
Pls fix this..
The text was updated successfully, but these errors were encountered:
After thoroughly debugging and going through the codebase I figured out this has to do with the sails framework configuration. A headache and 3 cups of coffee later:
Set in config/session.js { cookie:{ secure: true } }
However, another issue springs from this..
During development this could prevent you from user-testing your code in both FireFox and Safari as the SameSite secure:false setting leads to instant deletion of the session id cookie instantly.
Because the socket session id is set as a SameSite None cookie without secure, it gets removed by Firefox.
This means this entire library does not work with current versions of Firefox when the frontend client is hosted separately from the backend sails.js framework.
Pls fix this..
The text was updated successfully, but these errors were encountered: