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

Script validation endpoint no longer works

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 13.0.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      Call script validation endpoint:

      --------------------------------------------
      Request for Validate Scripts
      --------------------------------------------
      curl -s --request POST --header "iPlanetDirectoryPro: AQIC5wM2LY4SfcyzvvROvl5n9W-aPVqZVc7ib4iseBwAgZY.*AAJTSQACMDEAAlNLABQtMzQ3NjYyMDYxMTA1NDMxNzkzOQACUzEAAA..*" --header "Content-Type: application/json"
      --data "
      {
        "script": "YXV0aG9yaXNlZCA9IHRydWU7Cg==",
        "language": "JAVASCRIPT"
      }
      "
      http://openam.example.com:8080/openam/json/scripts/?_action=validate
      

      Expected successful validation, but actual was:

      --------------------------------------------
      Result for Validate Scripts
      --------------------------------------------
      {
        "code": 403,
        "reason": "Forbidden",
        "message": "No privilege mapping for requested action validate"
      }
      

      Looks like this is related to the change for OPENAM-6649

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jaco.jooste Jaco Jooste
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: