# OAuth2 Authenticate

This authentication is required to use the Groups - Distribution Lists management endpoints.

`Released in 20.13.`

{% openapi src="<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>" 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 %}

> ### 📘 Notes
>
> * 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.
