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

Unable to login with email + password if "email enumeration protection" is enabled #1041

Open
studiomomo-bss opened this issue Sep 19, 2023 · 7 comments
Assignees

Comments

@studiomomo-bss
Copy link

studiomomo-bss commented Sep 19, 2023

[REQUIRED] Describe your environment

  • Operating System version: MacOS 11.6.8
  • Browser version: Chrome Version 116.0.5845.110 (Official Build) (x86_64)
  • Firebase UI version: 6.1.0
  • Firebase SDK version: 9.12.1

[REQUIRED] Describe the problem

I've been going through the official Firebase Security Checklist (https://firebase.google.com/support/guides/security-checklist), and since I use email-password auth I followed the instructions to enable email enumeration protection. After enabling enumeration protection, all login attempts result in the message "Not Authorized: [email] is not authorized to view the requested page" immediately after inputing the user email and pressing the "NEXT" button — no password input field is presented. Disabling enumeration protection returns normal login functionality.

Steps to reproduce:

  1. Enable email enumeration protection
  2. Try to login

Relevant Code:

N/A — I expect that any app configured for email-password auth will encounter the issue

Expected behavior:

FirebaseUI can be used to authenticate with firebase instances that have enabled email enumeration protection, as suggested by the official Firebase Security Checklist

@jhuleatt jhuleatt self-assigned this Oct 2, 2023
@jhuleatt jhuleatt pinned this issue Oct 23, 2023
@jhuleatt jhuleatt changed the title Unable to login if "email enumeration protection" is enabled Unable to login with email + password if "email enumeration protection" is enabled Oct 23, 2023
@Hivemind9000
Copy link

@jhuleatt Can someone label this correctly (bug) and escalate it for a fix? Firebase is strongly recommending we take action on implementing email enumeration protection (via an email I received today), yet Firebase UI users can't - leaving our apps unprotected. From the wording in the email they are expecting a fix sometime, but I can't see any evidence of anyone working on it (no PRs, no confirmation as a bug etc.). Is Firebase UI still actively supported and maintained?

@Casey10110
Copy link

I also am having issues with my app. Users now get stuck on the screen that you enter the email. I can't get my app to pass the Play Store because I can't get it to do it myself, but I have seen it on my devices and on others as well. This is the image that the team at Google that approves apps sent me, this is where it now suddenly gets stuck after working for several years:
IN_APP_EXPERIENCE-1592

@TheRealMikeD
Copy link

I am getting the same issue on my web app. I just recently enabled email enumeration protection, since Google sent me an email strongly encouraging it. Now, no one can log in using FirebaseUI auth.
Screen Shot 2024-01-31 at 4 47 04 PM

@JosefJezek
Copy link

any progress?

@Casey10110
Copy link

Casey10110 commented Apr 29, 2024 via email

@shane-js
Copy link

As someone setting up firebase for the first time in 2024 I gotta say this whole thing was super confusing. Finally came across this issue and it makes a lot more sense that I am just messing around with something that is potentially broken?

I have a pretty straight forward brand new react app trying to drop firebaseui-web in to test and every user I enter the email for I get: "is not authorized to view the requested page.".

I agree with others - if this is not actively maintained time to just say so and remove it from the firebase docs.

@Casey10110
Copy link

Casey10110 commented Jul 11, 2024 via email

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

8 participants
@JosefJezek @jhuleatt @Hivemind9000 @TheRealMikeD @shane-js @Casey10110 @studiomomo-bss and others