SSO Redirection
SSO Token from Company Session
curl -X POST {OAUTH_URL}/v1/oauth/sso/stores/company
-H 'Authorization: Bearer eyJ0b2tlbkNvbnRlbnQiOnsiaXNzdWVkRm9yIjoiRnJlc2h3b3JrcyIsInNjb3BlIjoiIiwiaXNzdWVkQXQiOjE1NTk5MTk4ODE2MDEsImV4cGlyZXNBdCI6IjIwMTktMDYtMjJUMTU6MDQ6NDEuNjAxWiIsInRva2VuX3R5cGUi'
--header 'Content-Type: application/json'
-d '{
"user_input": "email@example.com",
"tpd":{//this is third party session data to be sent by the client (eg. Darwin) with which xoxoday calls api for fetching and redeeming points.This is still under development.
"auth_header":"Bearer asdgfjhbsdlkjbasdlkjbadslkbdakasdhfjhfdb==",
"employee_id":"4356XC90",
"Uid":"TTEO32S99ERCL"
}
}{
"data": {
"ssoToken": "0d793dc64230b71376308aacf582e7f835ff01b3"
}
}Last updated
Was this helpful?