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

Feature request - Auto CSRF Token #76

Open
Fr33maan opened this issue Jun 13, 2015 · 4 comments
Open

Feature request - Auto CSRF Token #76

Fr33maan opened this issue Jun 13, 2015 · 4 comments
Milestone

Comments

@Fr33maan
Copy link

Hi there,

Does the library has a built-in CSRF setting to enable ?

If not it would be nice to implement it so we don't need to manually ask for a CSRF token at yourapp.com/csrfToken when CSRF protection is enabled on the sails App.

Thanks.

@TheSharpieOne
Copy link
Contributor

Sorry I didn't comment on this earlier. This request is more or less out of scope of what the 1.x project is. Since 2.x tries to line up with angular's $http and angular's $http has some XSRF features, I'd imagine that this would be in scope for 2.x.

@TheSharpieOne TheSharpieOne added this to the 2.0.0 milestone Jul 2, 2015
@Fr33maan
Copy link
Author

Fr33maan commented Jul 2, 2015

Good to know !

Thanks

@Fr33maan
Copy link
Author

Any news on this ?

@ecorona
Copy link

ecorona commented May 21, 2019

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

3 participants