<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
0D54z0000AKAy3FCQTOkta Classic EngineLifecycle ManagementAnswered2026-01-18T09:00:48.000Z2025-03-14T14:39:06.000Z2025-03-14T18:15:01.000Z

yc954 (yc954) asked a question.

Reset Password authentication state issue.

I am trying to reset a password using the /api/v1/authn/credentials/reset_password API. However, I am receiving an error stating: 'This operation is not allowed in the current authentication state.'

My user's status is PASSWORD_EXPIRED.

In which cases will this API return such a response? Are there specific authentication states where this operation is restricted?

 

 

 

 

Image is not available


  • Mihai N. (Okta, Inc.)

    Hi @yc954 (yc954)​ , Thank you for reaching out to the Okta Community! 

     

    You might want to check with our colleagues via devforum.okta.com on this, as far as I can see here, this flow is not supported. 

    There also an older post mentioning MFA requirement coming into play as well. 

    If you want to set a specific password for the user, you should be able to use the "Set Password" call. Example: 

    UsersEither way, I recommend checking with our dedicated Developer forum to find out the exact method of leveraging the /api/v1/authn/credentials/ flow. 

     

     

    Regards.

    --

    Help others in the community by liking or hitting Select as Best if this response helped you.

    Level up your Identity security superpowers with Okta Learning.

    Join the Online Discussion for Ask me Anything on March 25, 2025: Identity Threat Protection with Okta AI

    Expand Post
This question is closed.
Loading
Reset Password authentication state issue.