I am reading about integrating Azure AD with Firebase so that our corporate customers can use our system using their accounts.
My question is:
When a user with an email [email protected] signs in using AD for the first time, will a User(User with uid, etc) get created in Firebase?
2
Answers
Yes, a new account will be created after a user’s first sign in.
If you want to implement Firebase Authentication with email and password, please note that the user is created in Firebase Authentication only when you call create_user. So a function that does that might look like this:
Besides that, please also keep in mind that logging into Firebase happens on the client, and not on the server. So the Firebase Admin SDK doesn’t have a method to sign the user in, only the client-side SDKs have such methods.