Step 1: Create a web application

POST {{apiPath}}/environments/{{envID}}/applications

src/solutions/pingone-solutions/passwordless-sign-on-mfa/step-1a-create-a-web-application/index.mdx

Request Body

{"enabled"=>true, "name"=>"PasswordlessApp_{{$timestamp}}", "description"=>"This is an OIDC Web application.", "type"=>"WEB_APP", "protocol"=>"OPENID_CONNECT", "grantTypes"=>["AUTHORIZATION_CODE"], "redirectUris"=>["https://www.example.com", "http://localhost:3000", "http://localhost:3000/callback", "http://localhost:8080"], "responseTypes"=>["CODE"], "tokenEndpointAuthMethod"=>"CLIENT_SECRET_BASIC"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Authorizationstring