Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-6916

Since OPENAM-5695, users with the right privilege can reset password to other users

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 12.0.3, 13.0.0
    • Fix Version/s: 13.0.0
    • Component/s: documentation
    • Labels:
    • Sprint:
      Sprint 95 - Team Shakespeare

      Description

      As we have several endpoints that can interact the password, it would be nice to have a section in the documentation dedicated to resetting password by admin users.

      For resetting the password of a user, you need a token $TokenWithPrivilege which has the privilege for editing the password to other users. Then, you can use the update identity endpoint without the old password.

      curl --request PUT --header "iPlanetDirectoryPro: $TokenWithPrivilege" --header "Content-Type: application/json" --data '
      { "userpassword":"newpassword"}
      ' http://openam.example.com:8080/openam/json/users/demo
      

      Quick reminder:

      Forgotten password is for resetting your password.
      Changing password is for changing your password, which mean that you need to know your old password.
      Resetting password for other users can be done with the update identity endpoint (see above).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                David.Goldsmith David Goldsmith
                Reporter:
                quentin.castel Quentin CASTEL
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: