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

CSRF token in XHR requests #44

Open
manuelmeurer opened this issue May 15, 2020 · 1 comment
Open

CSRF token in XHR requests #44

manuelmeurer opened this issue May 15, 2020 · 1 comment

Comments

@manuelmeurer
Copy link
Collaborator

Currently skip_before_action :verify_authenticity_token is used in the compats controller to load the table of compats. The CSRF token should be sent along with the XHR request when requesting the table so that the auth token verification does not need to be skipped.

@manuelmeurer
Copy link
Collaborator Author

This should probably be done with https://github.com/rails/requestjs-rails

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

No branches or pull requests

1 participant