You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added scopes to Polymerfire/firebase-auth:
Line 248:
_providerFromName: function(name) {
switch (name) {
case 'facebook': return new firebase.auth.FacebookAuthProvider();
case 'github': return new firebase.auth.GithubAuthProvider();
case 'google': {
var provider = new firebase.auth.GoogleAuthProvider();
provider.addScope('https://mail.google.com/');
provider.addScope('https://www.googleapis.com/auth/drive');
} return provider;
case 'twitter': return new firebase.auth.TwitterAuthProvider();
default: this.fire('error', 'Unrecognized firebase-auth provider "' + name + '"');
}
},
The text was updated successfully, but these errors were encountered:
Description
Sign in with Google through firebase-auth will not allow access to google REST APIs.
Expected outcome
Return JSON response from Google Rest
Actual outcome
Returns: 401 Login Required....
Code
Steps to reproduce
Call to Firebase-auth with:
Added scopes to Polymerfire/firebase-auth:
Line 248:
The text was updated successfully, but these errors were encountered: