text: var firebase = require("firebase/app");
  require("firebase/auth");
  
  const uid = "alice@domain.com";
  const password = 'Password1'
  
  var firebaseConfig = {
    apiKey: "AIzaSyCbIXal_yKpHTe-redacted",
    authDomain: "fb-federated.firebaseapp.com",
  };
  
  firebase.initializeApp(firebaseConfig);
  
  firebase.auth().signInWithEmailAndPassword(uid, password).then(result => {
    console.log(JSON.stringify(result, null, 2))
  }).catch(function(error) {
      // Handle Errors here.
      var errorCode = error.code;
      var errorMessage = error.message;
      console.log(errorMessage);
    });
  