get OpenID authorization code request
get
/ccagent/v1/openid/authzCodeRequest
Get OpenID authorization code
Request
Supported Media Types
- application/json
Query Parameters
-
code_challenge(optional): string
Query String indicated the code_challenge query parameter value.
-
login_prompt(optional): boolean
If true, the authorize request to IDP will include a 'prompt' query parameter with value as 'login'
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Root Schema : getOpenIDAuthzCodeRequest_response
Type:
Show Source
object
-
authz_code_request_dst(optional):
string
The destination URL that the Authz code request should be sent to.
Example Response (application/json)
{
"authz_code_request_dst":"https://cx-tenant02.identity.example.com/oauth2/v1/authorize?client_id=b3e03d5dc3254713a3c8bfd98e296cd2&response_type=code&redirect_uri=http://localhost:9080/occs-agent/sso-login.jsp&scope=openid+profile+email&code_challenge=eWhR0..mq4lyYqbqDbwrIGpADYcM9pg4mO0U29MsDysKE26J.WhdqiTUxT1xrIDkxwxGIeVBIQHxckfn34XeV7GJ2eqVFj&code_challenge_method=plain&response_mode=form_post&nonce=3183229f-63d9-4a57-904c-10613d69eea7"
}
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|
|------------------|------------------|
|52301|Internal Error.|
Root Schema : errorModel
Type:
Show Source
object
-
devMessage(optional):
string
An optional non-localized message containing technical information for developers
-
errorCode(optional):
string
The numerical code identifying the error
-
errors(optional):
array errors
An optional list of errors if multiple errors were encountered
-
message(optional):
string
The localized message describing the error
-
moreInfo(optional):
string
An optional non-localized message with more information
-
o:errorPath(optional):
string
An optional machine readable description of where the error occurred
-
status(optional):
string
The HTTP status code
-
type(optional):
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(optional):
string
An optional non-localized message containing technical information for developers
-
errorCode(optional):
string
The numerical code identifying the error
-
message(optional):
string
The localized message describing the error
-
moreInfo(optional):
string
An optional non-localized message with more information
-
o:errorPath(optional):
string
An optional machine readable description of where the error occurred
-
status(optional):
string
The HTTP status code