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

Set X-CSRF-Token on HTTP requests #19

Merged
merged 1 commit into from
Nov 12, 2015
Merged

Set X-CSRF-Token on HTTP requests #19

merged 1 commit into from
Nov 12, 2015

Conversation

seanpdoyle
Copy link
Collaborator

https://github.com/emberjs/ember-rails#csrf-token
https://github.com/thoughtbot/ember-cli-rails#csrf-tokens

When ember-cli-rails embeds the CSRF meta tags, this initializer
configures the host app to recognize them and set them as outgoing HTTP
headers to play nice with the Rails app's CSRF protection.

https://github.com/emberjs/ember-rails#csrf-token
https://github.com/thoughtbot/ember-cli-rails#csrf-tokens

When `ember-cli-rails` embeds the CSRF meta tags, this initializer
configures the host app to recognize them and set them as outgoing HTTP
headers to play nice with the Rails app's CSRF protection.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant