SSO (Single Sign On)


The SSO process consists of two simple steps:

1. Creating a one-time token

curl --location --request GET 'https://api.vcita.com/v1/partners/sso/token?staff_uid={STAFF_UID}' \
--header 'Authorization: Token token="{DIRECTORY_TOKEN}"'

Response:

{
  "sso_token": "aaabbbcccddd111222333444",
  "expires_at": 123456789
}

🚧

sso_token

Note: The returned token will remain valid for 30 minutes.

→ Use the business_uid to log in users with admin access.
→ Alternately, use the staff_uid to log in users as specific staff members (Please refer to the staff API reference).

2. Build the SSO login URL

Simply copy-paste the below URL and replace {SSO_TOKEN} with the token you received in step 1.

https://api.vcita.com/v1/partners/sso/login?staff_uid=xxxzzz111&sso_token={SSO_TOKEN}

Did this page help you?