I am writing a React.js
non-single page application. I've been using auth tokens
to store my authentication sessions which normally works fine with single page applications. But in my case, whenever the client makes a request directly from the address bar, I can't execute the js
code that places the auth token
in the header of the request.
I would prefer not to use cookies
to handle this problem, especially if I plan to convert my application to a single page or isomorphic application. Is there another way to maintain sessions in my application?