openIDSingleSignOn
post
/ccstore/v1/openid/sso
OpenID Single Sign On
Request
Supported Media Types
- application/json
Root Schema : openIDSingleSignOn_request
Type:
Show Source
object
-
authz_code(required):
string
The Authorization code returned from IDP
-
code_verifier:
string
The verifier code to retrieve token from IDP
Example:
{
"authz_code":"AQIDBAXEoj8VshMPKEySZ7_oOa7_gg1vEMcG629nTqVDz3VZx2Ro1RbffWEwtRroC-DSg-gNyADxwXAArmmspD6XlDZ0MTEgRU5DUllQVElPTl9LRVkxNCB7djF9NCA=",
"code_verifier":"NjOZ278Qe9GGzJhUmKfDAC9BAN4jrxOFKSnC00Eq.vSZYoQ1FdQmfxC7TY"
}
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Root Schema : openIDSingleSignOn_response
Type:
Show Source
object
-
access_token:
string
The access token from IDP
-
expires_in:
integer
The token expire time in seconds
-
refresh_token:
string
The refresh token from IDP
-
token_type:
string
The access token type
Example Response (application/json)
{
"access_token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE0MTQxNDk5NTYsInN1YiI6IjExMDU1OCIsImlzcyI6InN0b3JlZnJvbnRVSSIsImlhdCI6MTQxNDE0OTAyNn0=.B9qM0/VKpCNKvjCmOnUPv4RS7mkIDgKcP8RJPaVQGYU=",
"refresh_token":"AQIDBAXlI-00TPsdgV2dpt3yZRjyyDBzCOP5Qkryo7O8mDqNNLpDPp5c0qHKB2Sq1Kjx_v1SuPS0rvtE1LDGIRKKoRZkMTEgRU5DUllQVElPTl9LRVkxNCB7djF9NCA=",
"token_type":"bearer",
"expires_in":"3600"
}
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 IDP error.|
|52304|Missing property.|
|52306|IDP configuration error.|
|60004|Invalid token format.|
|60010|Internal authentication error.|
|60011|Unauthorized access.|
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