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

TokenResource ignores query string passed from client

    Details

    • Sprint:
      Sprint 77 - Sustaining
    • Support Ticket IDs:

      Description

      1. retrieve admin SSO token
      curl --request POST --header "X-OpenAM-Username: amadmin" --header "X-OpenAM-Password: cangetin" --header "Content-Type: application/json" --data "{}" http://openam.example.com:8080/opensso/json/authenticate

      2. generate token for "testuser01"
      curl --request POST --data "client_id=myClientID&client_secret=cangetin&grant_type=password&username=testuser01&password=cangetin" http://openam.example.com:8080/opensso/oauth2/access_token

      3. query token for user "testuser01"
      curl --header "iplanetDirectoryPro: AQIC5wM2LY4SfcyZVLRVkG6JIbvSAvl2QWS-o4.AAJTSQACMDEAAlNLABM1NTc5Mjc2ODkxOTUxNjU5Njcx" "http://openam.example.com:18080/opensso/frrest/oauth2/token?_queryId=userName=testuser01"

      TokenResource#queryCollection doesn't pass query strings from client

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sachiko Sachiko Wallace
                Reporter:
                sachiko Sachiko Wallace
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: