Skip to content
This repository has been archived by the owner on May 26, 2020. It is now read-only.

Feature/add csrf token to client #106

Merged
merged 3 commits into from
Mar 2, 2017

Conversation

dneukirchen
Copy link
Contributor

@dneukirchen dneukirchen commented Feb 28, 2017

Follow up PR for #104
Resolves issue #105

  • Add csrf token to ajax requests

@dneukirchen dneukirchen added this to the Milestone 1 milestone Feb 28, 2017
@dneukirchen dneukirchen self-assigned this Feb 28, 2017
@dgrammatiko
Copy link
Contributor

But CSRF is dead: https://scotthelme.co.uk/csrf-is-dead/ (if only all browsers supported that...)

@dneukirchen
Copy link
Contributor Author

dneukirchen commented Mar 2, 2017

I think SameSite cookies are out of the scope of this project, the browser support ist horrible (http://caniuse.com/#search=SameSite) and i personally do not fully agree with that blog post in the age of stateless rest apis.

@dgrammatiko
Copy link
Contributor

Yes, it's way out of the scope of this project, but I won't create another issue that no-one will ever bother to even search a little about what this sameSite is...
Well, depends, the state should live on the client side (at least that's the theory for modern apps) so in that sense the api should be stateless...

@laoneo can you merge this?

@yvesh yvesh merged commit 2daead3 into milestone1-j4 Mar 2, 2017
@laoneo laoneo deleted the feature/add-csrf-token-to-client branch March 2, 2017 11:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants