You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change the email address of an existing Firebase Auth user, using verifyBeforeUpdateEmail instead of updateEmail.
[REQUIRED] Expected behavior
The method should generate an oob code and show the url in the Emulator logs. It should also be available in the list of generated oob codes at http://localhost:9099/emulator/v1/projects/project-test/oobCodes.
Now that Email Enumeration Protection is enabled by default for new projects, and the updateEmail method is marked as deprecated (and requires switching to verifyBeforeUpdateEmail), we should have support for verifyBeforeUpdateEmail in the emulator.
[REQUIRED] Actual behavior
Throws an 501 (Not Implemented) error because of missing Firebase Auth REST API for accounts:sendOobCode in the emulator.
POST http://localhost:9099/identitytoolkit.googleapis.com/v1/accounts:sendOobCode?key=123 501 (Not Implemented)
The text was updated successfully, but these errors were encountered:
Hey @ghinda, thanks for the detailed report. The Auth emulator currently does not support this feature yet. We do understand its importance since new projects have Email Enumeration Protection enabled by default. However, we won't be able to provide a detailed timeline as to when this feature would be implemented.
[REQUIRED] Environment info
firebase-tools: 13.2.0
firebase: 10.8.0
Platform: Arch
[REQUIRED] Test case
[REQUIRED] Steps to reproduce
Change the email address of an existing Firebase Auth user, using
verifyBeforeUpdateEmail
instead ofupdateEmail
.[REQUIRED] Expected behavior
The method should generate an
oob
code and show the url in the Emulator logs. It should also be available in the list of generatedoob
codes athttp://localhost:9099/emulator/v1/projects/project-test/oobCodes
.Now that Email Enumeration Protection is enabled by default for new projects, and the
updateEmail
method is marked as deprecated (and requires switching toverifyBeforeUpdateEmail
), we should have support forverifyBeforeUpdateEmail
in the emulator.[REQUIRED] Actual behavior
Throws an
501 (Not Implemented)
error because of missing Firebase Auth REST API foraccounts:sendOobCode
in the emulator.The text was updated successfully, but these errors were encountered: