Skip to main content

Authentication

All API requests must be authenticated. Cambrionix Connect uses OAuth 2.0 with Bearer tokens for authentication.

Getting API Credentials​

To obtain API credentials, contact your Cambrionix representative.

OAuth 2.0 Flow​

1. Obtain Access Token​

Request an access token using the OAuth 2.0 client credentials flow.

2. Use Access Token​

Include the access token in the Authorization header of all API requests.

Token Expiration​

Access tokens expire after a set period. When a token expires, request a new access token and retry the original request.

Security Best Practices​

  • Never commit credentials: Store credentials in environment variables or secure secret management
  • Use HTTPS only: All API requests must use HTTPS
  • Rotate credentials: Regularly rotate your client secrets
  • Limit token lifetime: Use short-lived tokens when possible