Okta Admin Console Displays a "Password reset failed" Error for Federated Users
Last Updated:
Overview
An error occurs in the Okta Admin Console when attempting to reset the password of a federated user from the target hub organization. Initiating the password reset from the source spoke organization or the external identity provider resolves the issue. Okta generates the following error:
Password reset failed
Applies To
- Okta Identity Engine (OIE)
- Okta Classic Engine
- User Lifecycle Management
- Federation
Cause
This error occurs when the user requiring a password reset is a federated user, and the password reset attempt originates from the target hub organization instead of the source spoke organization.
Solution
How is the password reset failed error resolved for federated users?
Verify the user type using the Okta API or the Okta Admin Console, and initiate the password reset from the source organization or external identity provider.
- Verify the user type by executing the following API call to retrieve the user details.
/api/v1/users/<id>
- Review the API response to confirm if the user is federated. The following image displays a Postman response indicating a federated user type.
- Alternatively, navigate to Directory > People in the Okta Admin Console and select the user to view the federated Identity Provider (IdP) in the user details.
- Initiate the password reset from the source spoke organization if the user is federated with Okta via Org2Org.
- Execute the following API call as an alternative method to reset the password for an Okta-federated user.
<url>/api/v1/users/<userId>/lifecycle/reset_password?sendEmail=false
- Initiate the password reset from the third-party external IdP if the user authenticates through an external IdP instead of Okta.
