Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

202
Views
Best practice to detach email from firebase user logged in with phone and email?

I am working on a project with firebase and I want to detach the email from a user that is authenticated with phone + email/password. I am trying to use the unlink method for purpose. However, as I was to find out, this method is not intended to detach the email from the user, but only to remove the password. That would be quite a problem, because not only will the removed email still show in the user's A account, but also any other user B will not be able to use the same email in the future (this would be rare, but it's a problem). One solution I found interesting is to updateEmail and set it to undefined or update profile and do the same thing. Problem is firebase complains about that.

Therefore I am wondering what is the best practice to detach an email address from a user that is also logged in with a phone number? Is this best done by a cloud func?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!