Step 1: Create a web application
POST {{apiPath}}/environments/{{envID}}/applications
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 | CLIENTSECRETBASIC |
Request Body
{"enabled"=>true, "name"=>"a_WebAppWithMFA", "description"=>"This is an OIDC Web application.", "type"=>"WEB_APP", "protocol"=>"OPENID_CONNECT", "grantTypes"=>["AUTHORIZATION_CODE"], "redirectUris"=>["{{webAppUrl}}"], "responseTypes"=>["CODE"], "tokenEndpointAuthMethod"=>"CLIENT_SECRET_BASIC"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Content-Type | string |