Overview
Atoti Limits includes native support for JSON Web Tokens. We can utilize this support to send MtM requests using theAuthorization: Jwt ... header.
This is the default authentication mechanism in Atoti Limits. To authenticate machine-to-machine requests differently,
see Use a custom authentication.
Use the default support
To use the native support, specify the following properties in both Atoti Limits and your connected server:Use a custom authentication
As described in Adding Custom Machine-to-Machine (MtM) Authentication, you can replace the default mechanism with your own.1. Add a custom ILimitsRestClientBuilder bean in the Connected Server and Atoti Limits
ILimitsRestClientBuilder has a single method, getRestClientBuilder(), which returns the RestClient.Builder used for
machine-to-machine requests. Set the headers your authentication needs on that builder. For example, to send an API key
read from a property: