Authenticate Users Between Firebase Apps
I have a React app with firebase auth and storage Following on my previous question with multiple firebase apps here, I ended having multiple firebase apps inside my project. I hav
Solution 1:
Each initialized app instance has its own authentication. You can't have one app instance reach into another app to get its auth data. As such, you will need to use the Firebase Auth APIs to sign in the user in to the second app instance separately. Since you're using signInWithEmailAndPassword
, it sounds like you're going to have to store the user's credentials somewhere until you're able to call initializeApp
again with them as needed.
Post a Comment for "Authenticate Users Between Firebase Apps"