TotalAgility client assertions and mutual TLS provide two ways to strengthen authentication for external applications calling TotalAgility REST SDK APIs.

 

A public-key client assertion lets an application authenticate its token request using a signed statement. Optional mutual TLS, or mTLS, adds a client certificate check when obtaining tokens and calling the protected APIs.

 

These capabilities were added in Tungsten TotalAgility 8.1.0. They build on OAuth rather than replace it.

 

For teams maintaining Kofax TotalAgility or KTA integrations, the important design question is which application credentials should be trusted, how they are protected and where that trust is checked.

 

Understand the two separate authentication checks

 

Client assertions and mTLS address different parts of the connection.

 

Mechanism

What it does

Sensitive material to protect

Client secret

Authenticates the application using a shared credential

The client secret

Public-key client assertion

Authenticates a token request using a digitally signed JWT

The application signing private key

Mutual TLS

Adds authentication using an approved client certificate and its corresponding private key

The client certificate private key

 

A client assertion is presented when requesting an access token. The resulting access token is then used for API calls.

 

mTLS adds a separate certificate requirement. Configuring assertion signing does not automatically configure mTLS.

 

A securely managed client secret can still be a valid design. Public-key authentication is useful when you want to avoid distributing a reusable shared secret between the application and the token service.

 

How public-key client assertions work

 

With public-key authentication, the application keeps its private signing key. TotalAgility uses the corresponding public key to verify the assertion.

 

The interaction follows this sequence:

 

  1. The external application creates a signed JSON Web Token, or JWT, containing the required assertion claims.

  2. It sends the assertion to the TotalAgility OAuth token endpoint.

  3. TotalAgility validates the signature and configured assertion values.

  4. If authentication succeeds, TotalAgility issues an access token.

  5. The application uses that access token for supported REST SDK API requests.

 

The assertion and the access token are different objects. The assertion authenticates the token request; it is not a replacement access token for subsequent API calls.

 

The private key should remain under the control of the calling application. Configure the public verification material in TotalAgility rather than copying the private key into the verification settings.

 

Configure the public-key assertion path

 

Navigate to Integration > TotalAgility OAuth clients and create or review the appropriate client.

 

For the internal-provider approach described here, select Internal, then choose Client assertion as the authentication method.

 

TotalAgility Client Assertion

 

Selecting Client assertion for an external application authenticating to TotalAgility.

 

Continue with the assertion configuration:

 

  1. Review the Issuer, Subject and Audience values provided by the configuration.

  2. Open the Signature tab.

  3. Select Public key as the signature verification method.

  4. Configure the supported certificate public-key or JSON Web Key option.

  5. Set the access token validity duration and appropriate resource mapping.

  6. Configure the external application to produce assertions matching those settings.

 

Selecting Client assertion alone does not necessarily remove shared secrets. TotalAgility also supports shared-secret signature verification. Choose the public-key option when implementing the private-key signing approach described in this article.

 

Follow the official TotalAgility OAuth client configuration guide for the precise settings.

 

Add mTLS as a separate layer

 

For the documented internal OAuth client configuration, the Certificate tab lets you register approved client certificate thumbprints.

 

 

Registering approved client certificates for additional mTLS authentication.

 

Configure the calling application to present an accepted client certificate when requesting a token and making the protected API calls.

 

The application must be able to use the corresponding private key. Possessing a copy of the public certificate alone is not sufficient for client authentication.

 

This client certificate serves a different purpose from the HTTPS server certificate that identifies the TotalAgility endpoint.

 

Also distinguish the two TotalAgility configuration areas: the Signature tab controls assertion verification, while the Certificate tab configures the additional client certificate requirement.

 

Test the complete deployed connection, including any gateway or load balancer involved. Verify that the intended client certificate requirement is enforced along the actual request path.

 

A practical example: securing a customer portal

 

Suppose a customer portal creates onboarding jobs and retrieves their status through TotalAgility REST SDK APIs.

 

The portal backend currently uses a client ID and secret. The organization decides to adopt public-key assertions and require a client certificate for the integration.

 

The backend now signs its token request assertion using its protected signing key. It also presents the approved client certificate where mTLS is required.

 

After receiving an access token, it continues to present the required client certificate when calling the protected APIs.

 

A useful acceptance test is to repeat a request with a valid token but without the required client certificate. That request should fail on the protected route.

 

The portal must still enforce which customer can access each application. Strong application authentication does not automatically provide customer-level authorization.

 

Plan key and certificate rotation

 

Replacing a shared secret with a private key changes the credential management work. It does not remove it.

 

Assign ownership for signing keys, client certificates, expiry monitoring and emergency replacement.

 

Where supported, plan an overlap between approved verification keys or certificate thumbprints so the application can move to replacement credentials before the old ones are retired.

 

Confirm that the application runtime can access the required private key and that unrelated services cannot use it.

 

Also separate assertion validity, access token validity and certificate expiry. These are different lifecycles, and a successful token request today does not prove that renewal will work later.

 

Test successful and rejected requests

 

A successful API call verifies only one path. Test the conditions that should be rejected as well.

 

Test

Expected outcome

Valid assertion and required client certificate

The application can obtain a token and perform an authorized operation

Assertion signed by an untrusted key

Token authentication fails

Incorrect issuer, subject or audience

The assertion is rejected

Required client certificate omitted

The protected request fails

Unapproved client certificate presented

The protected request fails

Valid authentication but insufficient permissions

The operation is denied

Key or certificate replacement

The application transitions according to the tested rotation plan

 

Keep diagnostic information useful without recording private keys, complete access tokens or other reusable authentication material.

 

The objective is to demonstrate that the intended application can perform its required operations while other callers and unauthorized operations are rejected.

 

Frequently asked questions

 

Does Client assertion mean that no shared secret is involved?

 

Not necessarily. TotalAgility supports both shared-secret and public-key signature verification for client assertions. The public-key approach described here avoids using a shared client secret for that authentication flow. Check the Signature settings rather than assuming the authentication-method selection alone establishes asymmetric authentication. The private signing key remains sensitive and must be protected.

 

Are the assertion signing certificate and mTLS certificate the same thing?

 

They serve different roles. Assertion signing proves that the application can sign the token request using the configured key. mTLS authenticates the client connection using an approved client certificate and its private key. Treat these as separate configuration and lifecycle decisions. Configuring one mechanism does not automatically configure the other.

 

Does mTLS make a stolen access token completely harmless?

 

Properly enforced client certificate checks can prevent a token from being used by a caller that lacks the required client authentication. That is valuable protection, but avoid absolute guarantees. Private-key compromise or weaknesses in the deployed request path can change the outcome. Test missing and unapproved certificate scenarios against the actual protected endpoints.

 

Do client assertions and mTLS replace access permissions?

 

No. These controls authenticate the application or connection; they do not decide every business operation that should be permitted. Configure the appropriate resource mapping and verify endpoint permissions. An application that authenticates successfully should still be unable to access unrelated records or perform administrative actions outside its intended role.

 

Does this configuration establish Zero Trust or compliance automatically?

 

No. These mechanisms can support a broader security architecture, but they do not establish every control required by a security framework or contractual obligation. Access policy, key management, application security, logging and operational procedures still matter. Assess the complete integration against the requirements that apply to your organization.

 

Flexinta provides TotalAgility consulting and integration services to review API authentication, configure OAuth clients and validate application access. Our support and maintenance services can also help assess existing integrations and plan credential changes.