<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
0D51Y00008JNtAdSALOkta Classic EngineLifecycle ManagementAnswered2024-03-25T06:55:07.000Z2020-04-17T12:05:23.000Z2020-05-04T03:51:49.000Z

94j3s (94j3s) asked a question.

OKTA API Change password and forgot password.

I have created a user in okta using the api with password, recovery question and 'OKTA' as the provider. The user status is Active. When i triggered Change password and Forgot password it returned error. Also Forgot password and Change password options not available in the UI.

What could be the problem?

 

{"errorCode":"E0000035","errorSummary":"Change password not allowed on specified user.","errorLink":"E0000035","errorId":"oaeAhFvh5nBRWO7645qiA4I0A","errorCauses":[]}

 

 

{"errorCode":"E0000034","errorSummary":"Forgot password not allowed on specified user.","errorLink":"E0000034","errorId":"oaefIk0MCd9Rk6YJVSa8pnEnA","errorCauses":[{"errorSummary":"Forgot password is not supported for the user's login type"}]}

 


  • PritiS.45592 (Customer)

    Check the Password Policy is setup correctly and the number of days before which the user cannot change his own password.

    Did you also try creating a user from UI and test?

     

  • sandeepk.84743 (Wipro Technologies)

    Hi Visakh

     

    This is because you are using CreateUser with password API in OKTA. This sets the user state in Stage. Try to create user with CreateActivatedUser with Password. API, & then change the password & do forgot password on this user. It should work without any errors.

    Expand Post
  • 94j3s (94j3s)

    I am giving the active flag as true, so users are created with ACTIVE as their state.

This question is closed.
Loading
OKTA API Change password and forgot password.