Skip to content

Same Site Cookie Attribute Feature Request #4341

Closed
@davidgoate

Description

@davidgoate

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:

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions