# 2025-06-02: OAuth Service - added fields to validateauthtoken response

## Overview

The [Validate a token](https://developer.emporix.io/api-references/api-guides/companies-and-customers/customer-management/api-reference/authentication-and-authorization#get-customer-tenant-validateauthtoken) endpoint of Oauth service returns now two additional fields:

* email - Customer email used to login (generate the token).
* legalEntityId - Legal Entity Id.

## Updated endpoints

| Endpoint                                                                                                                                                                                                    | Description                                               |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------- |
| [Validate a token](https://developer.emporix.io/api-references/api-guides/companies-and-customers/customer-management/api-reference/authentication-and-authorization#get-customer-tenant-validateauthtoken) | Added the `email` and `legalEntityId` fields in response. |

## Known problems

There are no known problems.
