Flutter: can I mix Firebase Auth with Mongodb Databases?

1,169

Yes, you can do that. Actually firebase auth will provide a uid after authentication that you can use in MongoDB to identify the user. To make it work you'll need to have your own backend or APIs that will help you retrieve the data from MongoDB after the user is authenticated via firebase. Whereas a backend or the API is considered you can use any framework to make it eg. flask(python), express(nodejs), ruby on rails, etc.

If you already have an existing authentication system and want to integrate it with firebase then firebase provides custom authentication, you can have a look at the same.

Share:
1,169
Admin
Author by

Admin

Updated on December 16, 2022

Comments

  • Admin
    Admin over 1 year

    I must mention that I have no prior experience in backend development, and I know that questions on the subject have been asked before but I need a specific answer to this one.

    I was wondering if I could use Firebase authentication to register & sign in my users and store their data in Mongodb?

    If so, what am I supposed to learn besides "firebase_auth" and a Mangodb package to make it work?