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

Oath User Devices endpoint not accessible for delegated admin

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.5.2.1, 6.5.3, 7.0.0, 5.5.2
    • Fix Version/s: 6.5.3, 7.0.0, 5.5.2
    • Component/s: None
    • Labels:
    • Sprint:
      AM Sustaining Sprint 67, AM Sustaining Sprint 68
    • Story Points:
      3
    • Support Ticket IDs:
    • Verified Version/s:
    • Needs QA verification:
      No
    • Functional tests:
      Yes
    • Are the reproduction steps defined?:
      Yes and I used the same an in the description

      Description

      Bug description

      When using a delegated admin (full realm privileges) unable to use the devices/2fa/oath endpoint, 403 unauthorized error is returned, this worked on 6.5.2 but not on 6.5.2.1

      How to reproduce the issue

      1. Setup a default AM
      2. Create a new group called admins with Realm admin privileges
      3. Create a new user and add them to the above group
      4. Login with the new user and using the API explorer try to use the  /users/devices/2fa/oath/ GET and query the demo user, or use a curl request - 

      curl -X GET "http://172.24.11.28:8080/openam/json/users/demo/devices/2fa/oath?_queryFilter=true" -H "accept: application/json" -H "Accept-API-Version: resource=1.0" -H "X-Requested-With: SwaggerUI"

      Expected behaviour
      Returns devices
      
      Current behaviour
      403 forbidden, User not authorized 
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lawrence.yarham Lawrence Yarham
                Reporter:
                robert.matthews Robert Matthews
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: