Created
December 6, 2016 16:15
-
-
Save deltaepsilon/303a1ab03e00d2c995d9dc077cfbeb17 to your computer and use it in GitHub Desktop.
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
| <script src=”https://apis.google.com/js/platform.js" async defer></script> | |
| <script> | |
| var provider = new firebase.auth.GoogleAuthProvider(); | |
| provider.addScope(‘profile’); | |
| provider.addScope(‘email’); | |
| provider.addScope(‘https://www.googleapis.com/auth/plus.me'); | |
| firebase.auth().signInWithPopup(provider); // Opens a popup window and returns a promise to handle errors. | |
| </script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment