Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-22018

Reset password link through the V1 request reset password API not working

    Details

    • Type: Service Pack Request
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 6.1, 6.2.2
    • Fix Version/s: 6.2.N
    • Component/s: ACS REST API
    • Labels:
      None
    • Environment:
      ACS 6.1
    • Bug Priority:
      Category 2
    • ACT Numbers:

      01017401

      Description

      When trying to reset the password using request password API as per this documentation:
      https://docs.alfresco.com/6.1/concepts/dev-api-by-language-alf-rest-manage-people-groups-update-person-password.html

      The reset password link will be set find, but when clicked on "Reset password" link, the attached error shows. ( Capture1.png and logs attached)

      here is the link URL for reset password and I also have the activit admin info ( key and id) attached in capture2. 

      https://127.0.0.1:7070/share/page/reset-password?key=c6052496-013f-466e-9a56-cc690f0109f9&id=activiti$451

       

      Steps to replicate:

      1) set up and configure outbound email on  ACS 6.1 OOTB so you can receive emails from alfresco

      *attached is my outbound email config (capture) Also attached instructions for installing mail catcher on Ubuntu

      2) go to postman and run this POST call, replacing you server IP and port number and your User ID (test)

      http://192.168.5.143:8080/alfresco/api/-default-/public/alfresco/versions/1/people/test/request-password-reset

      for this you need to use this body:

      { "client": "share" }

      3) You will receive an email with a green button "Reset password" click on this

      Observed behavior:

      You'll see the attached error 

      Expected behavior:

      This URL should take you to password change screen and allow user to change the password. 

       

      NOTE:

      If I use the REST API to reset password using the same key and id in the body then this works.

      http://192.168.5.143:8080/alfresco/api/-default-/public/alfresco/versions/1/people/test/reset-password

      body:

      { "password": "shima", "id": "activiti$451", "key": "c6052496-013f-466e-9a56-cc690f0109f9" }

       

       

        Attachments

        1. Capture.PNG
          Capture.PNG
          84 kB
        2. Capture1.PNG
          Capture1.PNG
          65 kB
        3. Capture2.PNG
          Capture2.PNG
          100 kB
        4. catalina.out.txt
          5 kB
        5. mailcatcher.txt
          1 kB

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  smatoorian Shima Matoorian
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:

                    Structure Helper Panel