Step 6: Register a PingOne OIDC Native App

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

Request Body

{"enabled"=>true, "name"=>"OIDC-Native-App4", "description"=>"Test Description - OIDC App (Native)", "type"=>"NATIVE_APP", "protocol"=>"OPENID_CONNECT", "homePageUrl"=>"https://example.com/homePage", "loginPageUrl"=>"https://example.com/loginPage", "grantTypes"=>["AUTHORIZATION_CODE", "IMPLICIT"], "postLogoutRedirectUris"=>["https://example.com/logout"], "redirectUris"=>["https://example.com"], "responseTypes"=>["CODE", "TOKEN", "ID_TOKEN"], "tokenEndpointAuthMethod"=>"NONE", "pkceEnforcement"=>"REQUIRED", "refreshTokenDuration"=>86400, "refreshTokenRollingDuration"=>86400, "mobile"=>{"bundleId"=>"myAppleBundle4.myApp", "packageName"=>"myAndroidPackage4.myApp", "huaweiAppId"=>"120240968", "huaweiPackageName"=>"com.company.somePackage", "integrityDetection"=>{"mode"=>"ENABLED", "cacheDuration"=>{"amount"=>10, "units"=>"MINUTES"}, "googlePlay"=>{"verificationType"=>"INTERNAL", "decryptionKey"=>"{{ucCredIntegrityDecryptionKey}}", "verificationKey"=>"{{ucCredIntegrityVerificationKey}}"}}}, "passcodeRefreshDuration"=>{"duration"=>45, "timeUnit"=>"SECONDS"}}

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring
Content-Typestring