How to use the sendPasswordResetEmail() function on the server using the firebase-admin SDK?

前端 未结 3 1056
盖世英雄少女心
盖世英雄少女心 2020-12-11 13:08

In the past, I have used firebase.auth in the web client and once a user creates another user, I link certain security logic:

  • Once the user has been created I s
3条回答
  •  渐次进展
    2020-12-11 13:27

    The is a workaround provided here https://github.com/firebase/firebase-admin-node/issues/46

    I found a work-around that works well enough for my use case, see below. I'm not sure if this is best practice, but I wanted to keep the emails exactly the same between the server and client requests. Would love to hear about any flaws with this implementation

提交回复
热议问题