Karthik
09/11/2025, 6:27 AMcurl --location 'http://localhost:8080/api/v1/applications/token' \
--header 'Content-Type: application/json' \
--data '{"client_id":"<placeholder_client_id>","client_secret":"<placeholder_client_secret>"}kapa.ai
09/11/2025, 6:28 AM{
"client_id": "YOUR_CLIENT_ID",
"client_secret": "YOUR_CLIENT_SECRET"
} [[Configuring API](https://docs.airbyte.com/platform/using-airbyte/configuring-api-access)] - Token lifetimes: In OSS docs, tokens are short-lived (3 minutes). If you successfully get one from the UI button, that confirms the endpoint works. The 400 “Invalid client id or token” typically indicates a mismatch or invalid credentials. [[Configuring API](https://docs.airbyte.com/platform/using-airbyte/configuring-api-access)] - If you don’t see client_id/secret in the UI Applications page: that can happen; you can still use the abctl-provided client-id/secret. abctl local credentials also lets you rotate credentials if needed: - View: abctl local credentials - Optionally set a new password (not required for API): abctl local credentials --password YourStrongPassword [[Quickstart auth](https://docs.airbyte.com/platform/using-airbyte/getting-started/oss-quickstart#part-4-set-up-authentication); [abctl reference](https://docs.airbyte.com/platform/deploying-airbyte/abctl#reference)] - If you installed via Helm/Kubernetes, verify the values in the airbyte-auth-secrets secret (client and password are base64-encoded). A mismatch between what abctl shows and what the server uses could cause 400s: - kubectl get secret airbyte-auth-secrets -n <YOUR_NAMESPACE> -o yaml - Decode to confirm they match your request. [[Authentication (deploy)](https://docs.airbyte.com/platform/deploying-airbyte/integrations/authentication)] Known issue: There’s an open GitHub issue where token generation fails with “Invalid client id or token” after abctl install, and some users report the Applications page missing the client-id. This matches your symptom. [[GitHub issue](https://github.com/airbytehq/airbyte/issues/65595)] Next steps to unblock: 1) Regenerate/refresh credentials via abctl and try again: - abctl local credentials (copy fresh client_id and client_secret) - Retry the POST with the fresh values. 2) If running in Kubernetes, ensure the secret values match what the server is using (as above), or set them explicitly via a secret and restart airbyte-server. [[Authentication (deploy)](https://docs.airbyte.com/platform/deploying-airbyte/integrations/authentication)] 3) If the issue persists on 1.8.2, it may be the bug from the issue above; consider updating to the latest patch, or follow that GitHub thread for a fix/workaround. [[GitHub issue](https://github.com/airbytehq/airbyte/issues/65595)] If you share the exact abctl local credentials output (redacting values) and the exact JSON body you’re sending, I can help double-check formatting.Karthik
09/11/2025, 6:42 AMKarthik
09/11/2025, 6:42 AMkapa.ai
09/11/2025, 6:43 AMkapa.ai
09/11/2025, 6:43 AMcurl -sS -X POST 'http://localhost:8080/api/v1/applications/token' \ -H 'Content-Type: application/json' \ -d '{"client_id":"YOUR_CLIENT_ID","client_secret":"YOUR_CLIENT_SECRET"}' [[Configuring API](https://docs.airbyte.com/platform/using-airbyte/configuring-api-access)]Yoanna Kirilova
10/13/2025, 4:02 PM