Create Postman Collection
Once the Authentication provider has been configured on the OpenIAM, we can define a new collection in Postman using the steps below.
- In Postman, select New > Collection from the screen shown below.
- Go to the
Variablestab and create an entry for the
clientsecretas shown in the example below. Both of the values can be found on in your OpenIAM Authentication provider configuration.
Save the configuration.
- Go to the
Authorizationtab and configure the values listed below.
|Add auth data||This determines how auth data should be passed. You can choose between Request Headers and Request URL. Select |
|Token name||Token name can be any name that you want to assign to your access token.|
|Grant type||Describes how the auth client (postman) will interact with the oauth server (openiam server). This value MUST be the same as the Grant type that you select during the OpenIAM Authentication provider configuration which was |
|Callback URL||Callback URL should be set to: |
|Authorize using browser||This checkbox should be left unchecked|
|Auth URL||The Auth URL is the endpoint URL which is used to get the authorization code. This value should be set to: |
|Client ID||Enter the following string |
|Scope||Enter the follwowing string: |
|Client Authentication||Select |
Once you have defined the above parameters, save your configuration.
Then click on
Get new access token. This will start the authentication process and postman will show the OpenIAM login screen. After successful authentication, you are ready to make API calls on your OpenIAM instance.