Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NAV needs to consider a SameSite policy for the session cookie #2195

Closed
lunkwill42 opened this issue Oct 12, 2020 · 1 comment
Closed

NAV needs to consider a SameSite policy for the session cookie #2195

lunkwill42 opened this issue Oct 12, 2020 · 1 comment

Comments

@lunkwill42
Copy link
Member

lunkwill42 commented Oct 12, 2020

Is your feature request related to a problem? Please describe.
Future browser releases may decide to discard NAV's session cookie, due to it not having any explicit SameSite policy.

Describe the solution you'd like

  • NAV should, at the very minimum, explicitly define a site policy for the session cookie.
  • Nice to have would be for the policy to be configurable in webfront.conf as well, but with a sane default.

Additional context
See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite for further details.

The SameSite policy can be configured through Django's settings.py, but this requires at least Django 2.1.

@hmpf
Copy link
Contributor

hmpf commented Mar 4, 2024

Replaced by #2817 and #2822.

@hmpf hmpf closed this as completed Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants