Migrate users with a salted hash passwords?
-
Hello,
We have a dataset of usernames and passwords that we want to migrate to FusionAuth.The tutorial mentions that we can create a password encryptor to handle our hashing logic, allowing us to migrate without requiring users to reset their passwords. However, we also want to utilize the available encryptors for new users or when migrated users reset their passwords.
I understand that we can't convert salted hash passwords to other encryptors. Is there a strategy for managing this?
Thanks!
-
@michaelgaffney278 Is there a reason you would like to keep the existing users on the old hash? It doesn't seem like it. If you would like to rehash all users when they login, please check this out. It talks about rehashing all passwords for a custom hash, but if you select an existing hashing scheme, it should convert it as well. Is this what you are after?
I would think you could migrate all the existing users with your custom hashing, then at some point switch the hash setting and be where you want.
I would test this out before trying in production, but it may do the trick.
-
Thanks for your answer. I got it.