FirebaseExtended / make-it-so-android

Apache License 2.0
214 stars 58 forks source link

Create Account doesn't work. #27

Open reknoZ opened 1 year ago

reknoZ commented 1 year ago

I followed the four steps from the Codelab section (#3 Firebase Authentication) and ran the application in the Simulator.

I tried to create an Account, but when I click the "create account" button, it "clicks" but nothing happens. Firestore Authentication doesn't show a new entry, the create account screen is still visible.

I also tried to use the code from the completed project I downloaded from GitHub. I also compared it to the code I modified from the Codelab - my changes are the same lines found in the completed project.

marinacoelho commented 11 months ago

Hi @reknoZ thanks for reporting this problem! The codebase was updated a few times since March. Can you please pull the most recent code on the main branch, then open the final folder on Android Studio? It's important to run the code from the final folder, as the start folder does not call any of the APIs (it exists only so you can run the steps on this codelab).

Please let me know if the create account flow works for you when you run the most recent version!

jquinterom commented 7 months ago

Hello @marinacoelho

I'm having the same problem.

When I press the create account button, the screen shows me the snackbar with this message "The given sing-in provider is disabled for this Firebase project. Enable it in the firebase console, under the sing-in method tab of the Auth section. [ Please verify the new email before changing email.]"

image

So, I followed the steps on the firebase console and I enabled the email authentication. image

But I don't understand where is the problem.

Thanks for yours answers.

jquinterom commented 7 months ago

I found a solution.

image

You can go to Authentication -> Settings -> User actions

and disable "Email enumeration protection (recommended) "

For me, this setup works.

I found this setup here

rodrickgardner commented 5 months ago

This app isn't able to run on my PC. Is it because of the absence of the MainActivity.kt file?