DEV Community

Discussion on: Why is Django REST Framework lying to me?

Collapse
 
eisenheimjelid profile image
Jelid Leon

I used Basic Auth without CSRF, and did work for me. But you can implement JWT Auth in your Django project medium.com/netscape/full-stack-dja...

Collapse
 
rhymes profile image
rhymes • Edited

Thanks for the heads up! I wanted to avoid JWT, that's why I was trying to simply use the django session cookie as a token.

I think I've succeeded, I just need to read a bit more about DRF so I can clean up the code (and maybe remove django-rest-auth as a dependency)