CSRF Referer checking failed Django 1.8 -
i have searched not find workable solution.
i have website www.example.com , subdomains a.example.com , b.example.com. when try post request a.example.com b.example.com error of referer checking failed.
i have following settings in a.example.com , b.example.com:
csrf_cookie_domain = ".example.com" but not able make use of csrf_cookie_domain correctly.
django 1.8 has strict referer checking https. cannot post a.example.com b.example.com csrf protection enabled in django 1.8.
with django 1.9 added csrf trusted origins.
Comments
Post a Comment