Practical guide

How to test OAuth client credentials for a TMS integration

Use client credentials for a confidential service acting on its own behalf when the provider supports that flow. A token issued to an integration is not a user login, and obtaining it does not prove access to a particular customer’s shipments.

Scope the machine identity

Keep service authentication separate from shipment access.

RFC 6749 section 4.4 defines the grant for confidential clients. Review the OAuth 2.0 security best current practice and the provider’s documented options. Keep credentials server-side, separate test and production clients, request only needed scopes and confirm resource or audience constraints when the provider supports them. Avoid storing tokens or client secrets in diagnostics.

Worked example

The connector can read statuses, but not create shipments.

In a synthetic test, a connector intended for tracking obtains a token and reads the intended account’s events. An attempt to create a shipment must still be denied. Separately test that the same connector cannot read records belonging to another customer. A successful token response alone proves neither permission boundary.

Acceptance checks

Test expiry and rotation without weakening isolation.

Related resources

Continue with a scoped check.

Review developer integration resources

Diagnose the distinct transport-security layer

Software direction

Make transport data issues visible before the handoff.

Explore the public demo and compare proposed software plans. Paid access is not open yet.

Compare plans