Skip to content

Instantly share code, notes, and snippets.

@matthieu-D
Created July 26, 2017 17:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matthieu-D/57974bbe12855a310a0cf4b05b886179 to your computer and use it in GitHub Desktop.
Save matthieu-D/57974bbe12855a310a0cf4b05b886179 to your computer and use it in GitHub Desktop.
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