GET /openid_customers
Extracts list of allowed customers for given Bearer authorization header.
Request headers
- Authorization - bearer provided by /open_id_callback or /login APIs
[
{
"customerName": "test1",
"customerGUID": "0f42fbe3-d81e-444d-8cc7-bc892c7623e9"
},
{
"customerName": "test2",
"customerGUID": "f042fbe3-d81e-444d-8cc7-bc892c7623e9"
}
]
POST /openid_customers
Sets the selected customer in the returned cookies.
Request headers
- Authorization - bearer provided by /open_id_callback or /login APIs or directly from identity provider
{
"selectedCustomer": "0f42fbe3-d81e-444d-8cc7-bc892c7623e9"
}
{
"customerGuid": "0f42fbe3-d81e-444d-8cc7-bc892c7623e9",
"expires": "2020-05-11T21:21:21.000",
"version": 0,
"authorization": ""
}
Response cookies
Inside Set-Cookkie header
Response Object Fields
Customer GUID
Customer GUID that the user is logged into
Expires
When is this session cookie expires
Version
The login mechanism version used by CyberArmor backend
Authorization
String of Oauth2-JWT access token in base64 to send back to CyberArmor backend inside "Authorization" header. Authorization type: bearer