Skip to content
Snippets Groups Projects
Commit a5a303ae authored by Will Daly's avatar Will Daly Committed by alawibaba
Browse files

Cross-domain CSRF cookies

When configured, set an additional cookie with the CSRF
token for use by subdomains.

The cookie can have a different name than the default
CSRF cookie, preventing conflicts between cookies
from different domains (e.g. ".edx.org", "courses.edx.org",
and "edge.edx.org").

The new cookie is included only on the enrollment API
views so that the scope of this change is limited
to the end-points that require cross-domain POST requests.
parent c65c19d2
No related branches found
Tags release-2020-03-31-18.21
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment