client_credentials grant, and sends it as Authorization: Bearer <token> on every request. Every agent reaches the server under that one identity.
Settings
The server’sauth names the provider’s token endpoint and the gateway’s client:
token_urlis the provider’s token endpoint.client_idandclient_secretidentify the gateway.credentials_insends them in the token request’s body (body, the default) or as HTTP Basic authentication (basic).scopes,audience, andresourceare optional, and go in the token request.
Token Lifetime
The gateway keeps the token and gets a new one a minute before it expires. A token without an expiry is kept for 5 minutes. When the server answers401, the gateway gets a new token and retries the request once.