Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preventing automatic write to firestore #149

Closed
kartikwatwani opened this issue Dec 9, 2018 · 3 comments
Closed

Preventing automatic write to firestore #149

kartikwatwani opened this issue Dec 9, 2018 · 3 comments
Labels

Comments

@kartikwatwani
Copy link

I have my own cloud function set up for new account creation and I have some other fields to add to user doc as well so I would like to stop this automatic write to firestore. How can I do that ?

@AnthonyNahas
Copy link
Owner

this feature is in the pipeline and will be supported asap!

@AnthonyNahas
Copy link
Owner

I've just published ngx-auth-firebaseui v2.2.0 that supports now the ability to enable/disable autosync users' feature with firestore. All you have to do is to add an NgxAuthFirebaseUIConfig as 3rd params (via the enableFirestoreSync key) to the NgxAuthFirebaseUIModule module like below .. e.g:

 NgxAuthFirebaseUIModule.forRoot({
                    apiKey: 'your-firebase-apiKey',
                    authDomain: 'your-firebase-authDomain',
                    databaseURL: 'your-firebase-databaseURL',
                    projectId: 'your-firebase-projectId',
                    storageBucket: 'your-firebase-storageBucket',
                    messagingSenderId: 'your-firebase-messagingSenderId'
                }, 'your_firebase_project_name',
               {
               enableFirestoreSync: false,
               toastMessageOnAuthSuccess: true,
               toastMessageOnAuthError: true
              }),

thanks for contributing 👍

@kartikwatwani
Copy link
Author

Thank you so much for this feature. Thank you 👍 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants