title: cognito forget password flow?
body: <p>I have to implement forget password in my application, first I used this code and get the OTP successfully on email.</p>
  
  <pre><code>this.cognitoUser.forgotPassword({
    onSuccess: function (data) {
      // successfully initiated reset password request
       console.log('CodeDeliveryData from forgotPassword: ' + data);
    },
    onFailure: function (err) {
    }
  });
  </code></pre>
  
  <p>Now on the second page, I have to verify the OTP and then on the third page, I have to ask for new password. 
  According to the docs here on callback, I have to give both otp and new password. Suggest me please how can I divide it into three steps?? </p>