title: Firebase Auth Password Reset: How to properly send a password reset email including the confirmation code?
body: <p>I'm stuck at getting Firebase to send a password reset email including the confirmation code that's needed for the method <code>firebase.auth().verifyPasswordResetCode(code)</code>.</p>
  
  <p>I'm using the <code>sendPasswordResetEmail(email)</code> method and the email includes a link which lets users create a new password.</p>
  
  <p>Since I have placed some restrictions on the passwords (they must include a number), this would break the restriction.</p>
  
  <p>I can't find anything in the docs on how to send the confirmation code to an email for password reset.</p>
  
  <p>This is how I'm using it:</p>
  
  <pre><code>public sendResetPasswordEmail(email: string): Promise&lt;any&gt; {
  
    return this.fireAgent.firebase.auth().sendPasswordResetEmail(email, {
      url: 'http://localhost:8100/',
      handleCodeInApp: true
    });
  
  }
  </code></pre>
  
  <p>Any help would be appreciated.</p>