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

Updating a user's password and salt

Scheduled Pinned Locked Moved
Q&A
user-api password
1
2
3.4k
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.
  • D
    dan
    last edited by 3 Sept 2020, 12:40

    What is the best way to update a users password & salt but nothing else via the API?

    Would the update/patch user endpoint work well enough for just updating these values?

    --
    FusionAuth - Auth so modern you can download it.
    https://fusionauth.io

    1 Reply Last reply Reply Quote 0
    • D
      dan
      last edited by 3 Sept 2020, 12:41

      If you’re looking to update the password, you can use the Update User API, or the Change Password API.

      Neither of these APIs accept a hashed password and salt however, it accepts a plain text password that it will in turn salt, hash and then persist.

      Check out both these APIs here: https://fusionauth.io/docs/v1/tech/apis/users

      --
      FusionAuth - Auth so modern you can download it.
      https://fusionauth.io

      1 Reply Last reply Reply Quote 0
      1 out of 2
      • First post
        1/2
        Last post