Hello,
I assume you are following this sample https://developer.okta.com/blog/2021/03/05/ultimate-guide-to-password-hashing-in-okta#hash-only-1?
If so can you supply the entire API import command you use to import the user into Okta.
If I use,
curl --location --request POST 'https://{ORG}.okta.com/api/v1/users?activate=true' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: SSWS {API_TOKEN}' \
--data-raw '{
"profile": {
"firstName": "Hashed",
"lastName": "Pass",
"email": "hash@pass.com",
"login": "hash@pass.com"
},
"credentials": {
"password" : {
"hash": {
"algorithm": "SHA-1",
"value": "LOsCqF9tTebCiy5Z/aiG1Sba+w0="
}
}
}
}'
I am able to login fine using,
user: hash@pass.com
pass: ‘test password’