Open
Description
Bug
What is the current behavior?
Logging in using this.props.firebase.login({provider: 'google', type: 'redirect'});
does not create a user profile in firestore. Using E-Mail & Password with the same config and environment does create user profiles.
My Config:
export const reduxFirebaseConfig = {
useFirestoreForProfile: true,
userProfile: 'users',
};
firebase.initializeApp(firebaseConfig);
firebase.firestore();
export const rrfProps = {
config: reduxFirebaseConfig,
createFirestoreInstance,
dispatch: store.dispatch,
firebase,
};
<ReactReduxFirebaseProvider {...rrfProps}>
...
</ReactReduxFirebaseProvider>
Firestore Security Rules :
Set to 'Allow All' for debugging purposes
service cloud.firestore {
match /databases/{database}/documents {
match /{document=**} {
allow read, write: if true;
}
}
}
What is the expected behavior?
User profile should be created upon logging in with a Provider.
Which versions of dependencies, and which browser and OS are affected by this issue? Did this work in previous versions or setups?
Mac OS, Chrome Version 71.0.3578.98 (64bit)
"firebase": "^5.8.0",
"react-redux-firebase": "^3.0.0-alpha.6",
"redux-firestore": "^0.6.3",
"redux": "^4.0.1",
"react": "^16.5.1",
"react-dom": "^16.5.1",
Related: #33