ForgeRock Grant Flows Collection

ForgeRock provides an OAuth 2.0 and OpenID Connect Postman collection to try out the flows that AM support. The source for the REST calls, including the prerequisites needed to run the collection, is provided as a downloadable JSON file collection.

  1. Download and install Postman.

  2. Download the ForgeRock OAuth 2.0 and OpenID Connect Collection.

  3. Import the collection in Postman:

    1. Go to File > Import ... > Upload Files.

    2. Select the collection you downloaded, and click Open. Then, click Import.

  4. Configure the collection's variables to suit your environment:

    1. In Postman, on the Collections tab, select the ForgeRock OAuth 2.0 and OpenID Connect Collection. Click on the ... button, and then on Edit.

      The Edit Collection page appears.

    2. Click on the Variables tab, and change at least the value of the following variables:

      • URL_base

      • admin_password

    3. Click Update to save your changes.

      You are ready to start running the collection.

    The collection is divided into the following folders:

    • Prerequisites, containing REST calls to configure AM as an authorization server, and to create the clients and users required to run the collection.

    • OAuth 2.0 Flows, containing the flows explained in OAuth 2.0 Grant Flows.

    • OpenID Connect Flows, containing the flows explained in OpenID Connect Grant Flows.

      The Backchannel (CIBA) grant is not included, since it requires push notifications and an additional device to work.

    • Refresh Token Flow, containing calls explained in Refresh Tokens and "/oauth2/token/revoke".

    • Token Exchange Flows, containing the token exchange flows explained in "Token Exchange Flows".

Read a different version of :