You can use the POST /environments/{environmentId}/applications endpoint to create the new single-page 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. The application’s ID is required in Step 8 to make the authorization request.