Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-15726

The defaultRequestHeaders property misses a documented example

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.5.0
    • Fix Version/s: 7.1.0
    • Component/s: documentation
    • Labels:
      None
    • Target Version/s:
    • Verified Version/s:
    • Story Points:
      0.5
    • Sprint:
      IDM - 2021.4

      Description

      1) The defaultRequestHeaders property of the REST connector (https://backstage.forgerock.com/docs/idm/6.5/connector-reference/#basic-configuration-properties-properties-org-forgerock-openicf-connectors-scriptedrest-ScriptedRESTConnector-1.5.0.0) has no documented example.

       

      It would not be an issue if the values to use were obvious, which is not the case: in order for that connector to generate for example the "Authorization: Bearer rg1cwAeQJxEf" HTTP header, the value to use is as follows in the provisioner file:

      "defaultRequestHeaders" : [ "Authorization = Bearer rg1cwAeQJxEf" ]

       

      Please notice the use of the equal sign rather than the colon character.

       

      2) Also, I noticed that when doing the search below on backstage, I get not result (??):

      https://backstage.forgerock.com/docs/search?productId=idm&version=6.5&q=defaultRequestHeaders

        Attachments

          Activity

            People

            Assignee:
            Lana Lana Frost
            Reporter:
            cgrosjean Cyril Grosjean
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: