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

    Creating a user with a hashed password

    Scheduled Pinned Locked Moved
    Q&A
    users passwords hashed password
    1
    2
    1.1k
    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.
    • danD
      dan
      last edited by

      We need to store users hashed passwords in our db before sending to FusionAuth.

      Looks like the users API asks for plain text passwords and with the import endpoint you can send the hashed one specifying the schema.

      Importing isn't great because we'll be adding the user when they've completed an offline task, so one by one.

      What's the recommendation? Is there a plan for the users API to accept hashed passwords as well as plaintext?

      --
      FusionAuth - Auth for devs, built by devs.
      https://fusionauth.io

      1 Reply Last reply Reply Quote 0
      • danD
        dan
        last edited by

        Currently the only way to accomplish this will be to use the Import API, as you mentioned: https://fusionauth.io/docs/v1/tech/apis/users#import-users

        We do have an open feature request to allow hashes to be provided on the User API, which I think would be what you're looking for: https://github.com/FusionAuth/fusionauth-issues/issues/348

        Feel free to upvote that issue.

        --
        FusionAuth - Auth for devs, built by devs.
        https://fusionauth.io

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