loading...

re: Is there a way I can use Django default auth with React with them both decoupled? VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Struggling with the same issue at the moment. As I explore more I start to believe that DRF was meant to be secured by token based authentication m...
 

There's djang-rest-framework-simplejwt which is maintained, the problem is that they return the refresh and the access in a json object where the refresh should be in an http only cookie. I'm not sure I'd want to use jwt and honestly I'm new to Django so I can't customize it easily.
For the Token auth(not jwt) the problem, is the same, where do we store it.

 

Managed to create a view for authentication of users while using built-in SessionAuthentication.

See snippet in reddit.com/r/django/comments/e91gn...

Code of Conduct Report abuse