Created
July 26, 2017 17:23
-
-
Save matthieu-D/57974bbe12855a310a0cf4b05b886179 to your computer and use it in GitHub Desktop.
This file contains 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
loginWithGoogle() { | |
this.googlePlus.login({}) | |
.then((res) => { | |
this.user.loginAwsGoogle(res.idToken, res.displayName); | |
}) | |
.catch(err => console.error(err)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment