Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Exclude /api/v1/login/facebook from CSRF protection #83

Closed
divad12 opened this issue Feb 27, 2014 · 0 comments · Fixed by #100
Closed

Exclude /api/v1/login/facebook from CSRF protection #83

divad12 opened this issue Feb 27, 2014 · 0 comments · Fixed by #100
Assignees

Comments

@divad12
Copy link
Member

divad12 commented Feb 27, 2014

Due to turning on CSRF protection in #63, POSTing to /api/v1/login/facebook from our Android app returns a 403 Forbidden. We need to exclude this endpoint from CSRF protection and have it return the CSRF token.

Also need to ensure this endpoint is a no-op if user is already logged in, else a CSRF attack on this endpoint would allow an attacker to login a user's browser to the attacker's account.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant