Last active
November 20, 2019 04:31
-
-
Save standinga/38af33edbc7d1dbaebfdae448d41c4fa to your computer and use it in GitHub Desktop.
updated signInPopu function for medium post about authenticating with google sign in
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
signInPopup: async function() { | |
var provider = new this.$firebase.auth.GoogleAuthProvider() | |
const result = await this.$firebase.auth().signInWithPopup(provider) | |
var user = result.user | |
console.log(user) | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment