Deeplink Generation

The client has to generate a temporary one-time key(OTK) which will be appended in the deep link URL SSO and redirect the user to the Xoxoday compass app with this temporary token.

Let’s discuss the steps,

Make the following request with the Company Bearer Authorization access token and get the deeplink url.

POST /v1/oauth/sso/compassDeeplink/company

Headers

NameTypeDescription

Authorization

string

Bearer

{
    "data": {
        "deepLink": "https://comstage.xoxoday.com/thirdPartyOAuth/***907733ef95a5f68*********"
    }
}
---
curl -X POST {OAUTH_URL}/v1/oauth/sso/compassDeeplink/company 
-H 'Authorization: Bearer 
eyJ0b2tlbkNvbnRlbnQiOnsiaXNzdWVkRm9yIjoiRnJlc2h3b3JrcyIsInNjb3BlIjoiIiwiaXN 
zdWVkQXQiOjE1NTk5MTk4ODE2MDEsImV4cGlyZXNBdCI6IjIwMTktMDYtMjJUMTU6MDQ6NDEuNj 
AxWiIsInRva2VuX3R5cGUi' 
-d '{ 
"user_input":"abhinava@xoxoday.com" 
}' 

After this, the user must be redirected to the Xoxoday compass app using the deep link URL with the OTK obtained in the above response

Last updated