Hello everyone,
Currently I'm having a app that runs with node API that connects with the react and redux with firebase. I'm bit confused when it comes to user authentication, do I have to connect with api or just go from redux with firebase with not touching the api.
If its from node + firebase how do I store the token that return from firebase. Does storing localstorage is secure ? help me out.
hope this question makes sense.
Adam Bene
Founder & CTO @ Bene Studio | Join us!
HTML5 local storage is basically safe for storing authentication tokens because it is accessible only from the same domain.
To connect redux with local storage I would recommend redux-persist package.