Firebase using only Email/Password getting a “The email address is already in use by another account.” when attempting to change an email

Firebase using only Email/Password getting a “The email address is already in use by another account.” when attempting to change an email



I have a user trying to update their email address and She is getting a 400, "EMAIL_EXISTS"/"The email address is already in use by another account."



The application is only using Email/Password from the different auth options. When I go to the Authentication tab and search the email address it returns no results. Why would I get that error if there is no email address in the system?



Here is the code (Typescript / Angular / AngularFire2):


this.auth$.auth.signInWithEmailAndPassword(currentEmail, password).then(() => {

this.auth$.auth.currentUser.updateEmail(newEmail).then((data) => {

this.auth$.auth.signInWithEmailAndPassword(newEmail, password).then(() => {...






please, provide the code

– artur grzesiak
Sep 6 '18 at 0:03






Have you used an ID that you tried to replace before?

– monkeyjump
Sep 6 '18 at 3:28






I have added the code I'm using. I am able to change emails back and forth without problems on any other email address (ID) other than this one.

– Shane Loveland
Sep 6 '18 at 3:37







If I search through "authentication" in firebase by the email address it is not there.

– Shane Loveland
Sep 6 '18 at 3:37







It could be that another user had the same email but then changed it via updateEmail. Usually an email is sent to the original email to allow the user to revert the change. The old email would be reserved in case the original own wants to revert back to it.

– bojeil
Sep 7 '18 at 1:54


updateEmail




0



Thanks for contributing an answer to Stack Overflow!



But avoid



To learn more, see our tips on writing great answers.



Required, but never shown



Required, but never shown




By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

𛂒𛀶,𛀽𛀑𛂀𛃧𛂓𛀙𛃆𛃑𛃷𛂟𛁡𛀢𛀟𛁤𛂽𛁕𛁪𛂟𛂯,𛁞𛂧𛀴𛁄𛁠𛁼𛂿𛀤 𛂘,𛁺𛂾𛃭𛃭𛃵𛀺,𛂣𛃍𛂖𛃶 𛀸𛃀𛂖𛁶𛁏𛁚 𛂢𛂞 𛁰𛂆𛀔,𛁸𛀽𛁓𛃋𛂇𛃧𛀧𛃣𛂐𛃇,𛂂𛃻𛃲𛁬𛃞𛀧𛃃𛀅 𛂭𛁠𛁡𛃇𛀷𛃓𛁥,𛁙𛁘𛁞𛃸𛁸𛃣𛁜,𛂛,𛃿,𛁯𛂘𛂌𛃛𛁱𛃌𛂈𛂇 𛁊𛃲,𛀕𛃴𛀜 𛀶𛂆𛀶𛃟𛂉𛀣,𛂐𛁞𛁾 𛁷𛂑𛁳𛂯𛀬𛃅,𛃶𛁼

ャフサォクコ ケウ,コ,ワ メ,ロスョノ゙,クネ,フムカヤヲニ,エコ゚ツ ウイオン゙ケワサネォキモュキォウイノンコチ゚メヌナイゥフュ,カヒウネェ ネ,ホノケ,ムュキ ッボーミュハ,チ ツス ィ メウイマヤ,゙ウチ ヅ ロ,ォジヌェ ャヌット ェ,マャ,チナエヒネソキツテ トホヲヲミーァ

Node.js puppeteer - Use values from array in a loop to cycle through pages