SSO Not Supported
This authentication method does not work with SSO (SAML, OIDC federation). Users must have a dedicated username and password configured directly in Keycloak.
Access control
The token has the same permissions as the user who requested it. The API applies the user’s roles the same way the dashboard does, so a Product Viewer can read findings but can’t upload or scan images. List endpoints return only the resources the user can access. To give a script access to specific products only, create a dedicated BTP user, assign it only the roles the script needs, and authenticate as that user. M2M tokens can’t be restricted this way. See Authentication Methods for a comparison.Password Grant Flow
Use this flow for interactive access where you can securely provide your user credentials.Request
Response
The response contains theaccess_token needed for API requests.
Next Steps
Include this token in theAuthorization header of your API requests:
Authorization: Bearer <access_token>
The examples on the API reference pages read the token from TOKEN and your dashboard URL from BINARLY_API_URL. Set both before you run them: