Hi all,
I am using SHA 256 algorithm to encrypt the password hash (with pre-fix salt) and able to create the user in Okta with that imported hash but after creation, I am unable to authenticate the same user by providing the same password. Kindly help!!!
var hash = new Hash()
{
Algorithm = "SHA-256",
Salt = "nco7crN1HUdGzA0ezrgTjA==", // Base64 encoded
SaltOrder = "PREFIX",
Value = "66mLxWwyh/YX59xjLGTQpiv0HnH4/ii7Q8q4kMF/6zQ=" // Encoding.Unicode.GetBytes("P@ssword123")
};