This is not a coding question, rather a general question: in Django, if I am using default authentication (session authentication in that case), what does the frontend (in my case it is react) need in this case? lets say i log in on browser (login button from frontend side), now it is gonna send username and password data to django, django going to deserialize the data and then authenticate and login, now the problem here is that i redirect to another page where only authenticated users are able to view, the problem is that i cant view it, simply because Django identify me as un-authenticated, after bit of research the answer was because each end (frontend and backend) have different ports, in order to make it work the frontend need to access cookies i assume, is there any simple example to this problem?