https://widget.getcalico.com?client_id={YOUR_CLIENT_ID}https://{YOUR_REDIRECT_URI}/?code={AUTHORIZATION_CODE}curl -X POST https://login.getcalico.com/oauth/token\
-H "Content-Type: application/x-www-form-urlencoded" \
-d "grant_type=authorization_code" \
-d "code={AUTHORIZATION_CODE}" \
-d "client_id={YOUR_CLIENT_ID}" \
-d "client_secret={YOUR_CLIENT_SECRET}" \
-d "redirect_uri={YOUR_REDIRECT_URI}"curl --location --request GET 'https://api.getcalico.com/platform/v1/provider' \
--header 'Authorization: Bearer {token}'
| Token Type | Purpose | Lifespan | Storage Best Practices |
|---|---|---|---|
| Access Token | Grants temporary access to protected resources | 15 Minutes | Secure memory or encrypted storage. This should never be shared with more than one user. |
| Refresh Token | Used to obtain a new access token | 1 Year | Secure, encrypted backend storage only. |