[Answered ]-Login logic in React via Django Rest_auth requires password although submitted in body

1👍

You are creating a new object in the argument here:

body: JSON.stringify({formData}),

Resulting in body being:

{"obj":{"username":"username","password":"password"}}

Remove the curly brackets, and it should help.

👤ErikR

Leave a comment