Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Account doesn't work. #27

Open
reknoZ opened this issue Mar 19, 2023 · 4 comments
Open

Create Account doesn't work. #27

reknoZ opened this issue Mar 19, 2023 · 4 comments

Comments

@reknoZ
Copy link

reknoZ commented Mar 19, 2023

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
Copy link
Collaborator

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
Copy link

jquinterom commented Jan 23, 2024

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
Copy link

jquinterom commented Jan 23, 2024

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants