
94j3s (94j3s) asked a question.
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"}]}

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?
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.
I am giving the active flag as true, so users are created with ACTIVE as their state.