Email-Password on AuthViewController Doesn't Query to Set a Password on First Use
I'm using authViewController for FirebaseUI/Auth. Here is what it looks like when I select the email-password option:




As you can see, there's no query to set a password, so it's impossible to actually authenticate with this method. Am I doing something wrong? How do I fix this?
Also, the flow is kind of strange. Why does it ask for your email on one page and then your email and password on the next?
Addendum
Email-password IS enabled in my Firebase Console.
The only code I use is to call authViewController because the email-password option appears automatically.
self.authViewController = [authUI authViewController];
I just figured it out.. I was giving it an email for a previously authenticated FIRUser
The flow asks the user for the identifier first to determine what the next step should be. It not only helps differentiate sign-in and sign-up cases, it also avoids creating a duplicate account for users who have signed up using an identity provider.