Javascript – Nodejs + firebase: how to check if user is authenticated server side
User is authenticated on client side with firebase sdk. on server side, there is nodejs with also the sdk installed. This server code is valid as i'm able to use the db: var firebase = require("firebase/compat/app"); require("firebase/compat/database"); require("firebase/compat/auth"); const firebaseConfig…