I am trying to create a user by setting the password hash from our existing database, so that user doesn’t need not change their password to be migrated to Okta.
The example works but when I try to replace the password hash with values from my user
But I keep getting this error.
{
"errorCode": "E0000003",
"errorSummary": "The request body was not well-formed.",
"errorLink": "E0000003",
"errorId": "oaeUsyzXleyS5y6YifKiheQnA",
"errorCauses": []
}
Also what should be set in the value field of the password hash?
The Bcrypt hash value doesn’t seem to match the format i see in the example.
I tried to create the user with a dummy passowrd.
The user shows as active and credential as verified.
But I am not able to login using the same password even though it was created using the hash of same password.
Below is the credential part which comes back in response of the create user call.
Just an update:
I even tried setting the entire hash in the value instead of just password. The request to create user passes, but we cannot sign-in the user with correct password.
I see invalid credential error on Okta