angularfire icon indicating copy to clipboard operation
angularfire copied to clipboard

AngularFire, Google Auth Issue

Open samybaxy opened this issue 7 years ago • 1 comments

Version info Angular: 8.2.4

Firebase: 6.5.0

@angular/fire: 5.2.1

Other (e.g. Ionic/Cordova, Node, browser, operating system): Windows 10 Lenovo Yoga

I noticed that whenever I'm signed into my app using angularfire google authProvider: signInWithRedirect. I cannot seem to create a new document in an already existing collection using "add" on firebase firestore.. this.firestore.collection('shopping-cart').add({ dateCreated: new Date().getTime() })

But once I'm logged out, it works! But as soon as I login again, same problem. I receive no data from the promise. I've tried catch as well, nothing returns.

One more thing - I've only tried this with the same google account which has access to the firebase console. I have no idea why this should even be a problem.

Thank you.

samybaxy avatar Sep 16 '19 16:09 samybaxy

Unable to reproduce, probably addressed in recent versions.

jamesdaniels avatar Nov 14 '20 05:11 jamesdaniels