okta / okta-idx-java

okta-idx-java
https://github.com/okta/okta-idx-java
Other
14 stars 23 forks source link

recoverPassword() method not returning authenticator enrollment list #377

Closed ishan1020 closed 1 year ago

ishan1020 commented 2 years ago

Trying to implement password recovery flow using idx sdk but having issue with not getting back list of authenticator in response for recoverPassword method As per the below documentation, the response should come back with authenticatorStatus and authenticators. Getting the authenticatorStatus but not the list of authenticators https://developer.okta.com/docs/guides/oie-embedded-sdk-use-case-pwd-recovery-mfa/java/main/#summary-of-steps Steps to reproduce:

  1. Create user with basic attributes (login,email,fname,lname) and password
  2. Email authenticator is set for Recovery and selected in password policy as well
  3. App sign-on policy has only password as factor
  4. Start authenticate flow by passing username
  5. call recoverPassword by passing username and proceed context
  6. In response authenticatorStatus = AWAITING_AUTHENTICATOR_SELECTION but not seeing the list of authenticators image
arvindkrishnakumar-okta commented 2 years ago

@ishan1020 Thanks for reporting! I'll try to reproduce this.

arvindkrishnakumar-okta commented 1 year ago

@ishan1020 On testing with the latest SDK version 3.0.7, I see the authenticators & authenticatorEnrollments fields of AuthenticationResponse populated correctly.

Can you please double check?

ishan1020 commented 1 year ago

Hi Arvind, Getting the authenticatorEnrollments back now for recoverPassword. Thanks