firebase / firebase/quickstart-nodejs

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

Đang mở
#97 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
933
Fork
425
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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) => {`

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.