jvorcak / universal-react-kit

Just a playground, it's not production ready. It's the project where I learn React + Redux + Firebase by trying to construct my own stack, any feedback is highly appreciated
15 stars 0 forks source link

Firebase - server rendering #25

Open jvorcak opened 8 years ago

jvorcak commented 8 years ago

Problem description:

Firebase stores a JWT token on a frontend and saves an information about a logged in user in a DB https://github.com/jvorcak/universal-react-kit/blob/master/src/common/auth/actions.js#L78

Maybe it can send a JWT token to a server (over a secure connection). Server can then check whether a client is logged in and render necessary information.