Open DonBraulio opened 11 months ago
@DonBraulio Sorry that you ran into that error.
And that seems to be a problem on our side: the linkWithCredential()
method is currently broken due to a change in the way Cloud Identity works. Starting in September 15, Email Enumeration protection has been automatically enabled on new Firebase/Cloud projects which causes the error you're seeing. A workaround for now is to disable enumeration protection.
Our engineering team is working into addressing the issue so that the workaround is not needed. I will update this issue once I hear back from them.
pls provide how to resolve it @thatfiredev, i'm new with android idk how, cos your link is for Node.js to continue curse
Workaround instructions which worked for me:
gcloud
: https://cloud.google.com/sdk/docs/installgcloud init
, choose the correct Google account on the browser tab that gets automatically opened and authorize the SDK to access the account.export PROJECT_ID=my-project-id
.export ACCESS_TOKEN=$(gcloud auth print-access-token --project=$PROJECT_ID)
.curl -X PATCH -d "{'emailPrivacyConfig':{'enableImprovedEmailPrivacy':false}}" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' -H "X-Goog-User-Project: $PROJECT_ID" \
"https://identitytoolkit.googleapis.com/admin/v2/projects/$PROJECT_ID/config?updateMask=emailPrivacyConfig"
@collaxd FYI ☝️
This help me fix the problem:
https://github.com/FirebaseExtended/make-it-so-android/issues/27#issuecomment-1906764071
@thatfiredev This problem is still not fixed yet. Your work around works, but probably not the right thing to do to disable enumeration.
Hi, I'm following this tutorial and when I reach the Firebase Authentication step, I get the following snackbar error while trying to create an account:
However, in the Firebase Console I've already added the access provider for email/password (and the anonymous, which is added by default), both have a green tick saying correctly enabled.
I've recreated the Firebase project and the local code, and reproduced the steps (there are very few steps) as straightforward as possible, but I still get this error.
Any ideas of why this could be happening?