The POST /environments/{envId}/applications/ creates a new application resource in the specified environment. To define a Web application, you need to specify the following base application attributes:

Property Value
enabled true
name {{YourAppName}}
type WEB_APP

This web application will use the OPENID_CONNECT protocol. OpenID Connect applications require these additional OIDC properties:

Property Value
grantTypes AUTHORIZATION_CODE
redirectUris https://www.example.com
responseTypes CODE
tokenEndpointAuthMethod CLIENT_SECRET_BASIC