okta/okta-react-native

Use of Temporary or One-time password to login

anmoljain10 opened this issue · 1 comments

Describe the bug?

We need to login the Okta user with one time password we has created when we created a user in Okta console. This is one-time password so user should be able to login once and then the password should expire until they change it.

My issue is i'm not able to login using the temporary password. It is giving Sign in is not authorised. The status in okta dashboard for the user is PASSWORD_EXPIRED i.e. user is in one time password mode. (We're using the custom-sign-in here).

What is expected to happen?

We should be able to login for the first time.

What is the actual behavior?

NA

Reproduction Steps?

  • creating a user with one-time password and user goes to PASSWORD_EXPIRED status.
  • We need to login using that in the mobile app.

Additional Information?

No response

SDK Version

v2.6.0

Build Information

No response

The React Native SDK itself doesn't support authentication in this way. Perhaps this might be better served to be filed against https://github.com/okta/okta-auth-js