79114353

Date: 2024-10-22 13:47:06
Score: 2
Natty:
Report link

A little bit late to the discussion, but as @renaud-tarnec wrote, up to this date Firebase does not support onUpdate trigger for the Authentication. The workaround I have implemented was to check if the emails match for both the auth and the firestore docs each time the user log-ins to the website. Additionally, when user changes their email/password I am signing them off to force them to log in. Hope it helps!

Reasons:
  • Whitelisted phrase (-1): Hope it helps
  • No code block (0.5):
  • User mentioned (1): @renaud-tarnec
  • Single line (0.5):
  • Low reputation (1):
Posted by: Corgam