Skip to content

Instantly share code, notes, and snippets.

View rakhi2104's full-sized avatar
👨‍💻
I may be slow to respond.

Rakesh Peela rakhi2104

👨‍💻
I may be slow to respond.
View GitHub Profile
@rakhi2104
rakhi2104 / main.js
Created March 12, 2019 12:45
Firebase Chat
function signIn() {
var provider = new firebase.auth.GoogleAuthProvider();
firebase
.auth()
.signInWithPopup(provider)
.then(result => {
// perform action
});
}