Version - #.#.#
Render Mode - Static
Interactivity - Server
Database - SQL Server
Describe the bug
Cookie “.AspNetCore.Culture” does not have a proper “SameSite” attribute value. Soon, cookies without the “SameSite” attribute or with an invalid value will be treated as “Lax”. This means that the cookie will no longer be sent in third-party contexts. If your application depends on this cookie being available in such contexts, please add the “SameSite=None“ attribute to it. To know more about the “SameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite
Expected Behavior
The cookie is set to "lax" or "none"
Steps To Reproduce
Install Oqtane after building in Visual Studio
Install languages in language management of control panel
Switch Languages
Check Console Logs In FireFox Browser developer tools
Anything else?
I think the cookie option settings from app.razor maybe getting removed instead of reapplied once the cookie changes for different languages. They may need applied again in the logic creating the cookie for the culture on change in the language switcher.
Oqtane Info
Version - #.#.# Render Mode - Static Interactivity - Server Database - SQL Server
Describe the bug
Cookie “.AspNetCore.Culture” does not have a proper “SameSite” attribute value. Soon, cookies without the “SameSite” attribute or with an invalid value will be treated as “Lax”. This means that the cookie will no longer be sent in third-party contexts. If your application depends on this cookie being available in such contexts, please add the “SameSite=None“ attribute to it. To know more about the “SameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite
Expected Behavior
The cookie is set to "lax" or "none"
Steps To Reproduce
Anything else?
I think the cookie option settings from app.razor maybe getting removed instead of reapplied once the cookie changes for different languages. They may need applied again in the logic creating the cookie for the culture on change in the language switcher.