Create OpenIAM Provider

The OpenIAM API is secured using oAuth and in order to be able to interact with the API, you will need to set it up. However, the first step to do it is creating a new Authentication provider in OpenIAM.

Creating authentication provider

Start by logging into the webconsole and heading over to the Authentication Providers window.

  1. Got to webconsole > Access Control > Authentication Providers.

Access control

  1. Select Create New Provider in the top left.

New authentication provider

  1. Under Select a Provider Type, scroll down and select oAuth Client.

Provider type

Configuring oAuth client provider

Fill out the mandatory fields, as shown in the table below.

oAuth client config

FieldDescription
Provider NameChoose a name to identify this configuration (e.g. Java Client).
Redirect URLSet this to http://localhost:5000/callback (make sure to press enter to confirm the value).
Signing AlgorithmSet this to RS-256.
JWT IssuerChoose any name (e.g. JavaClient). This will automatically fill out the Final JWT Issuer View and OpenID Connect Discovery URL fields.
Authorization Grant FlowSelect Client Credentials.
Client Authentication TypeSelect Basic Authentication.
Default ScopesScroll down and select [your-content-provider-name] > /webconsole/rest/api (Note: it may take a minute to find it). After confirming this value, select user_name.
Token ExpirationSet this value to 30.
Use Refresh TokenSet this to off value.
Protect by 2FASet this to off value.
Send JWT Token as Access TokenSet this to off value.

Once you click Save, the page will automatically refresh and generate the Client ID and Client Secret fields.