I am developing a web app, In which I'm gonna use React as Front-end and Django as the back-end.
But the thing is that my front-end part is on a different server and the Back-end part is on a different server. and wanna communicate between them through the API.
I want to know how I can Authenticate users and get authenticated Users from the backend to the front-end.
I was thinking about the mentioned options
-> should I Use Token authentication
-> should I use session authentication
-> should I use JWT authentication
I am confused because there is also a problem, where I will store the auth token in React.?
also a problem,Does session authentication really works between 2 different server?