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

    Change a users password doesn't work

    Scheduled Pinned Locked Moved
    General Discussion
    2
    2
    1.7k
    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.
    • A
      alex_deryabin
      last edited by alex_deryabin

      Hi!
      For some reason the https://fusionauth.io/docs/v1/tech/apis/users/#change-a-users-password method is not working. I use authorization by API key, but on any request of the form

      {
      "applicationId": "89b51d96-1111-402d-b11c-11111111a73e3",
      "loginId": "test@goo.com",
      "password": "11111111",
      "currentPassword": "1111111111"
      }

      fusionauth responds with a 404. I have checked the password and login on the system several times, everything is correct.

      joshuaJ 1 Reply Last reply Reply Quote 0
      • joshuaJ
        joshua @alex_deryabin
        last edited by joshua

        @alex_deryabin

        Thanks for the question! Can you provide the full request that you are sending (including endpoint)?

        As I read the documentation,

        This usage is generally intended to be part of an email workflow and does not require authentication. The changePasswordId used on this API request will have been previously generated by the Start Forgot Password API or by using the Forgot Password workflow on the FusionAuth login page.

        You will want to make sure that you are including a changePasswordId in the request. Additionally, the link that you posted is part of a multistep process. Can you confirm how you are attempting to architect your request? Is this being used as part of a Forgot Password workflow or Start Forgot Password API?

        Thanks,
        Josh
        FusionAuth

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