You can use the POST /environments/{environmentId}/applications endpoint to create the new application. The application’s protocol property is required, and in this example it specifies an OPENID_CONNECT application.

The response data returns information about the new application, including its id property, which identifies the UUID for this application resource. You will need the application’s UUID property value in Step 21 to get the application secret, in Step 8 to associate the sign-on policy with the application, and in Step 15 to send the authorization request.