Create an application

In this part of the learning resource, you will create an application for the product RHOAM API OIDC that you created in Part 5 of this learning resource.

  1. Log in to OpenShift API Management using your configured identity provider.
  2. Navigate to Audience→Accounts→Listing and click Create to create a new account (Figure 33).

 

Create an account from the Accounts listing page.
Figure 33: Create an account from the Accounts listing page.

 

  1. On the Create New Account page, enter the following values (Figure 34):
    • Username: test-oidc
    • Email: a valid email address
    • Password: a string that is easy to remember
    • Organization/Group Name: TestOIDC
The “Create new account wizard” lets you fill out fields to specify parameters.
Figure 34: The “Create new account wizard” lets you fill out fields to specify parameters.

 

  1. Click Create to create the user and account. The Account details page will be displayed (Figure 35).
The new account has successfully been created.
Figure 35: The new account has successfully been created.

 

  1. Click on the 1 Application link on the top navigation bar to navigate to the Applications page. Then click Create Application (Figure 36).
Click the Create Application button.
Figure 36: Click the Create Application button.

 

  1. Create a new application for the TestOIDC account with the following values (Figure 37):
    • Product: RHOAM API OIDC
    • Application Plan: RHOAM OIDC Basic Plan
    • Name: TestOIDC RHOAM App
    • Description: TestOIDC RHOAM App

 

The “Create new application wizard” lets you fill out fields to specify parameters.
Figure 37: The “Create new application wizard” lets you fill out fields to specify parameters.

 

  1. On the overview page for the application, click Edit in the API Credentials section.

Set the redirect URL to https://www.getpostman.com/oauth2/callback. This redirect URL will become useful later in this learning resource when you test using the Authorization Code OAuth2 flow (Figure 38).

Set the redirect URL to the newly created application.
Figure 38: Set the redirect URL to the newly created application.

 

     8. Note that the API credentials for this application do not consist of a user key, but rather a client ID and a client secret.