<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z00007lOJugCAGOkta Classic EngineAPI Access ManagementAnswered2022-06-28T13:31:44.000Z2022-06-25T16:44:31.000Z2022-06-28T13:31:44.000Z

AnandK.17779 (Customer) asked a question.

Reset password using passcode sent in an email

I have integrated Android classic SDK for embedded Okta authentication. There is a requirement to recover passwords only with passcode either via email or sms. As per the requirement, we can’t use reset password link sent in an email. 

 

I have used following API from AuthenticationClient class to initiate password recovery.

 

/help/servlet/rtaImage?refid=0EM4z0000040no0

Dependency version: com.okta.authn.sdk:okta-authn-sdk-api:2.0.0

 

However, success response of this API with email factor type always sends reset password link in an email without any passcode. SMS and Email authenticators are already enrolled for the test account used for authentication.

 

Is it possible to get passcode via email using recoverPassword API? If not, which API should be used for this purpose?

 

Any help would be greatly appreciated.


  • Hello @AnandK.17779 (Customer)​  Thank you for reacting out to our Community!

     

    At this time there is now way to send a passcode through e-mail password recovery, we only support the option with the link. You can add a feature request on our Idea section, so that in the future we might implement this option.

     

    Hope this helps and if this answered your question, please mark this as Best Answer!

    Expand Post
This question is closed.
Loading
Reset password using passcode sent in an email