DEV Community

Discussion on: Django Rest Framework custom JWT authentication

Collapse
 
doubleaix profile image
Aix • Edited

I have a question to ask.
If I put JWT in cookie from server to client, and the client takes JWT from cookie to headers for every request, do I need CSRF token additionally?

Collapse
 
a_atalla profile image
Ahmed Atalla • Edited

the client can't read the httponly cookie, only the server can read it