Skip to content

Programmatically Disable CSRF for x-auth-token #287

Open
@rwinch

Description

@rwinch

We should provide a way for Spring Session to programmatically disable Spring Security's CSRF support on requests in which x-auth-token is used for establishing the session.

We could perhaps disable CSRF in Spring Security when:

  • x-auth-token is provided
  • No cookies are present (specifically JSESSIONID, but remember the cookie name can be configured)

We should be mindful of how this works in a CORS scenario.

If changes are made to Spring Security we should be mindful of how this will work in an OAuth Scenario

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