FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    Migrate users with a salted hash passwords?

    Scheduled Pinned Locked Moved
    General Discussion
    2
    3
    7
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      michaelgaffney278
      last edited by

      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!

      mark.robustelliM 1 Reply Last reply Reply Quote 0
      • mark.robustelliM
        mark.robustelli @michaelgaffney278
        last edited by

        @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?

        Screenshot 2025-08-18 at 8.54.18 AM.png

        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.

        1 Reply Last reply Reply Quote 0
        • M
          michaelgaffney278
          last edited by

          Thanks for your answer. I got it.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post