Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

AO3-5142 Fix invalid authenticity token error in API #3026

Merged
merged 1 commit into from Sep 2, 2017

Conversation

Projects
None yet
3 participants
Contributor

ariana-paris commented Sep 2, 2017

Issue

https://otwarchive.atlassian.net/browse/AO3-5142

Purpose

Fixes the ActionController::InvalidAuthenticityToken that occurs when using the mass import API after the upgrade to Rails 5.

Testing

curl -L -X POST http://test.archiveofourown.org/api/v1/bookmarks

should return the text HTTP Token: Access denied.. And the temp site test site should be able to post stories to the API.

elzj approved these changes Sep 2, 2017

@elzj elzj merged commit 6846fcd into otwcode:master Sep 2, 2017

3 checks passed

codeclimate All good!
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
hound No violations found. Woof!

@ariana-paris ariana-paris deleted the ariana-paris:AO3-5142-invalid-authenticity-token branch Sep 2, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment