getOpenIDAuthzCodeRequest
get
/ccstore/v1/openid/authzCodeRequest
Get OpenID authorization code.
Request
Supported Media Types
- application/json
Query Parameters
-
code_challenge: string
The code challenge to be added to the authorization request.
-
login_prompt: boolean
If true, the authorization request will include the 'prompt' query parameter with value '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:
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://www.example.com/OpenID/post&scope=openid+profile+email+offline_access&prompt=login&code_challenge=65FSI3GUMYi9EnAUi.5yujjPohePLouIDZILqo6rhsgWEQWoltAtoNSjRtXMjC5XMGprO8XXAbUGXDONa2&code_challenge_method=plain&response_mode=form_post&nonce=b2b3cb87-ebb0-481a-9bcd-4d905501b9e7"
}
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:
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