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

13.5.2 dev guide stateful refresh example uses an endpoint introduced in a later version.

    Details

    • Needs backport:
      No
    • Support Ticket IDs:
    • Needs QA verification:
      No
    • Functional tests:
      No
    • Are the reproduction steps defined?:
      No (add reasons in the comment)

      Description

      https://backstage.forgerock.com/docs/openam/13.5/dev-guide/#rest-api-session-refresh

      The example:

      $ curl \
      --request POST \
      --header "iplanetDirectoryPro: AQIC5w...NTcy*" \
      http://openam.example.com:8080/openam/json/sessions/?_action=refresh&tokenId=BXCCq...NX*1*
      {
       "uid": "demo",
       "realm": "/",
       "idletime": 4,
       "maxidletime": 30,
       "maxsessiontime": 120,
       "maxtime": 7195
      }
      

      The result:

      {
          "code": 501,
          "reason": "Not Implemented",
          "message": "Action refresh not implemented for this resource"
      }
      

      This needs to be changed back to:
      /json/sessions/?_action=isActive&refresh=true&tokenId=

      As per:
      https://backstage.forgerock.com/knowledge/kb/article/a54451431

        Attachments

          Activity

            People

            • Assignee:
              austingene Gene Hirayama
              Reporter:
              jeremy.cocks Jeremy Cocks
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: