Supplier KCI authentication - retrieve access token.

post/auth/supplier/access-token

This endpoint is called to retrieve an access token which must be provided in the header on subsequent supplier KCI calls to the gateway.

Either Authorization header or client id/secret must be provided.

Request
header Parameters
Authorization
string

The Authorization header is Basic Base64-encoded app client credentials - client_id:client_secret

Request Body schema: application/x-www-form-urlencoded
grant_type
required
string

Grant type - only client_credentials is supported at the moment

scope
string

Limit to space-delimited list of scopes registered with the app client (optional)

client_id
string

The ID of the app client - required if not using Authorization header

client_secret
string

The client secret for the app client - required if not using Authorization header

Responses
200

Successfully generated access token

400

Bad request - authentication failed

503

Fibre Gateway is temporarily unavailable

Request samples
application/x-www-form-urlencoded
grant_type=client_credentials&scope=com.fibregateway.%3CENV_NAME%3E%2Ftenant.all.all&client_id=string&client_secret=string
Response samples
application/json
{
  • "access_token": "eyJraWQiOiI3WEl6amJaakZjYlpWK...",
  • "expires_in": 3600,
  • "token_type": "Bearer"
}