Userbase

Docs : SDK : forgotPassword

forgotPassword lets you send a temporary password to the user's email address. This API will return a promise that gets resolved once the email with the temporary password has been sent.

    userbase.forgotPassword({ username })
      .then((user) => {
        // email with temporary password sent
      })
      .catch((e) => console.error(e))
  

Parameters

Notes

Errors