Tivix / django-rest-auth

This app makes it extremely easy to build Django powered SPA's (Single Page App) or Mobile apps exposing all registration and authentication related functionality as CBV's (Class Base View) and REST (JSON)
www.tivix.com
MIT License
2.41k stars 661 forks source link

rest-auth/login returns {"detail":"CSRF Failed: CSRF cookie not set."} #586

Closed redcricket closed 5 years ago

redcricket commented 5 years ago

Hi,

I have been trying to integrate React.js application to a Django server that has django-rest-auth installed. The details of my question are here: https://stackoverflow.com/questions/59095076/dango-react-axios-and-csrf-failed-csrf-token-missing-or-incorrect Thank you

redcricket commented 5 years ago

oops it was something I was doing wrong

AnupamBrt commented 4 years ago

Can you mention what you were doing wrong? I am currently facing the same issue.

toomski commented 4 years ago

@redcricket I would also know, what are you doing wrong.

nielsuit227 commented 2 years ago

@redcricket @AnupamBrt @mitorski ever figured it out?