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

Add CSRF protection when using cookie authentication #177

Closed
rmccue opened this Issue May 5, 2014 · 0 comments

Comments

Projects
None yet
1 participant
@rmccue
Member

rmccue commented May 5, 2014

In #37, we're removing Basic authentication. This leaves only cookie authentication (that is, built-in WP authentication) by default in the API, with other forms of authentication handled independently.

To avoid possible CSRF, we should check against a nonce field when using cookie authentication.

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