Add a client certificate under a Client
post
/oam/services/rest/ssa/api/v1/oauthpolicyadmin/clientartifacts
Request
Supported Media Types
- application/json
- application/xml
Public Certificate that needs to be imported under a Client
Root Schema : ClientArtifact
Type:
Show Source
object
-
certificateValue(required):
string
Base64 Encoded value of the Public certificate
-
clientName(required):
string
Name of the Client under which the certificate is being imported
-
identityDomainName(required):
string
Name of the Identity Domain under which the Client exists
Response
Supported Media Types
- application/json
200 Response
Sucessfully created entity - OAuthClientTrustArtifact, detail
Root Schema : ClientResponse
Type:
Show Source
object
-
attributes:
array attributes
-
clientType:
string
Allowed Values:
[ "CONFIDENTIAL_CLIENT", "PUBLIC_CLIENT", "MOBILE_CLIENT" ]
Type of the client -
description:
string
-
grantTypes:
array grantTypes
-
id:
string
ClientID for the client. Will be auto generated if not specified
-
idDomain:
string
Name of the Identity Domain under which the Client exists
-
name(required):
string
Name of the Client
-
redirectURIs:
array redirectURIs
-
scopes:
array scopes
-
secret:
string
Password for the client if confidential
Nested Schema : attributes
Type:
Show Source
array
-
Array of:
object TokenAttributeSettings
Custom attributes that can be added to the Access Token
Nested Schema : grantTypes
Type:
Show Source
array
-
Array of:
string
Allowed Values:
[ "PASSWORD", "REFRESH_TOKEN", "JWT_BEARER", "CLIENT_CREDENTIALS", "AUTHORIZATION_CODE" ]
Nested Schema : TokenAttributeSettings
Type:
object
Custom attributes that can be added to the Access Token
Show Source
-
attrName(required):
string
Name of the custom attribute
-
attrType(required):
string
Allowed Values:
[ "STATIC", "DYNAMIC" ]
Type of the Attribute -
attrValue(required):
string
Value of the custom attribute. This could be a static value or a dynamic one that is evaluated and substituted.
Nested Schema : RedirectURI
Type:
Show Source
object
-
isHttps:
boolean
Default Value:
true
-
url(required):
string
Redirect URL
Nested Schema : ScopeSettings
Type:
Show Source
object
-
scopeName(required):
string
Name of the scope
422 Response
Failed to modify OAuth entity "Client" - name "NameofClient"