Skip to content

Instantly share code, notes, and snippets.

@marknutter
Created July 13, 2016 17:03
Show Gist options
  • Save marknutter/7e5e297a425e6163b70612695ee783c8 to your computer and use it in GitHub Desktop.
Save marknutter/7e5e297a425e6163b70612695ee783c8 to your computer and use it in GitHub Desktop.
// Initialize Firebase
var config = {
apiKey: "AIzaSyBU70QU9a7qLpEs1Ap7p8EBCR5SO7qTZBI",
authDomain: "lpanalytics-33dfd.firebaseapp.com",
databaseURL: "https://lpanalytics-33dfd.firebaseio.com",
storageBucket: "",
};
lplive = firebase.initializeApp(config);
lplive.auth().signInAnonymously().then(function() { alert('authenticated!') };
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment