Closed
Description
Summary
It would be nice if Spring Security would allow a developer an easy way to set authentication cookies to have the "same-site" attribute.
Although not supported in all browsers it is supported in Chrome, Opera and Android browsers:
- https://tools.ietf.org/html/draft-west-first-party-cookies-07
- https://www.owasp.org/index.php/SameSite
It'd be very nice if I could enable this with the YAML or properties files in a similar way to HTTP only or secure attribute for sessions:
server.session.cookie.secure=true
server.session.cookie.http-only=true
Perhaps like:
server.session.cookie.same-site=strict
server.session.cookie.same-site=lax