skip to Main Content

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


  1. Yes, a new account will be created after a user’s first sign in.

    Login or Signup to reply.
  2. 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:

    def create_user(email, password):
        user = auth.create_user(email=email, password=password)
        return user
    

    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.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search