> For the complete documentation index, see [llms.txt](https://rest-api.symphony.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://rest-api.symphony.com/main/audit-trail-2/oauth2-authenticate.md).

# OAuth2 Authenticate

This authentication is required to use the Audit Trails 2 enpoints.

{% hint style="info" %}
Use scope '**at2**' in order get access to the Audit Trail 2 endpoints.

The payload consists is a JWT token object that is divided in three properties as follow:

* the token type.
* the duration of time the access token is granted for (in seconds).
* the JWT token containing the caller's id or application, an expiration date, and a set of entitlements related to the specified scope, signed by the caller's private RSA key.
  {% endhint %}

{% openapi src="/files/QTYCdVMbKdCr4AG0pr4r" path="/idm/tokens" method="post" expanded="true" fullWidth="true" %}
[login-api-public.yaml](https://544392450-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F909t04Fk8FiEI7fBcmlw%2Fuploads%2Fgit-blob-0a6a293d0a6cdb3b172f2d2f3cb550af3be41315%2Flogin-api-public.yaml?alt=media)
{% endopenapi %}
