getOpenIDSettings
get
/ccadmin/v1/merchant/openidSettings
Get Storefront OpenID settings.
Request
There are no request parameters for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Root Schema : getOpenIDSettings_response
Type:
Show Source
object
-
baseURL:
string
The base URL of the identity provider. Either baseURL or openidConfiguration must be provided.
-
clientId:
string
The client ID of the identity provider application.
-
clientSecret:
string
The client secret of the identity provider application.
-
emailClaimName:
string
The name of the user information claim mapped to the profile email property.
-
enabled:
boolean
Whether to enable OpenID Connect on Storefront.
-
loginClaimName:
string
The name of the user information claim mapped to the profile login property.
-
openidConfiguration:
object openidConfiguration
Direct links to authorization server endpoints. It can be used if .well-known/openid-configuration is not supported. Either baseURL or openidConfiguration must be provided.
-
optionalClaimToProfilePropertyMap:
object optionalClaimToProfilePropertyMap
The mapping from user information claims to optional profile properties.
-
organizationClaimName:
string
The name of the organization ID claim.
-
requiredClaimToProfilePropertyMap:
object requiredClaimToProfilePropertyMap
The mapping from user information claims to required profile properties.
-
roleClaimName:
string
The name of the role ID claim.
Nested Schema : openidConfiguration
Type:
object
Direct links to authorization server endpoints. It can be used if .well-known/openid-configuration is not supported. Either baseURL or openidConfiguration must be provided.
Show Source
-
authorization_endpoint:
string
The URL of the authorization server's authorization endpoint.
-
end_session_endpoint:
string
The URL of the authorization server's logout endpoint.
-
issuer:
string
The authorization server's issuer identifier.
-
jwks_uri:
string
The URL of the authorization server's JSON Web Key Set document.
-
token_endpoint:
string
The URL of the authorization server's token endpoint.
-
userinfo_endpoint:
string
he URL of the authorization server's user information endpoint.
Nested Schema : optionalClaimToProfilePropertyMap
Type:
object
The mapping from user information claims to optional profile properties.
Nested Schema : requiredClaimToProfilePropertyMap
Type:
object
The mapping from user information claims to required profile properties.
Example Response (application/json)
{
"baseURL":"https://cx-tenant02.identity.example.com",
"loginClaimName":"login",
"emailClaimName":"email",
"clientId":"3eec13c77e92421eac9ecf87fbea3b16",
"organizationClaimName":"organization_id",
"clientSecret":"1e24b226-0436-4c6b-9692-a6fe7fee37d7",
"requiredClaimToProfilePropertyMap":{
"sub":"login",
"email":"email"
},
"roleClaimName":"role_id",
"enabled":true,
"optionalClaimToProfilePropertyMap":{
"given_name":"firstName",
"family_name":"lastName"
}
}
Default Response
The error response.
The following are the internal error codes thrown by this API when the request processing fails in Oracle Commerce Cloud:
|Error Code|Description|
|------------------|------------------|
|52300|Internal error.|
Root Schema : errorModel
Type:
Show Source
object
-
devMessage:
string
An optional non-localized message containing technical information for developers
-
errorCode:
string
The numerical code identifying the error
-
errors:
array errors
An optional list of errors if multiple errors were encountered
-
message:
string
The localized message describing the error
-
moreInfo:
string
An optional non-localized message with more information
-
o:errorPath:
string
An optional machine readable description of where the error occurred
-
status:
string
The HTTP status code
-
type:
string
The URI to the HTTP state code definition
Nested Schema : errors
Type:
array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type:
Show Source
object
-
devMessage:
string
An optional non-localized message containing technical information for developers
-
errorCode:
string
The numerical code identifying the error
-
message:
string
The localized message describing the error
-
moreInfo:
string
An optional non-localized message with more information
-
o:errorPath:
string
An optional machine readable description of where the error occurred
-
status:
string
The HTTP status code