firebase / firebase/quickstart-nodejs

how to tell on the client side that the user is logged in when using node js and react

Open
#97 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
933
Forks
425
PR merge metrics
No merged PRs in 30d

Description

I used the following code (https://github.com/firebase/quickstart-nodejs/blob/master/auth-sessions/app.js) to log a user in using React and Nodejs and Firebase. I can tell if someone is logged in using NodeJs, but not on the ReactJs side. I used the code and that does not work after a few minutes:

`app.auth().onAuthStateChanged((user) => {`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.