---
title: Configuring the PingDirectory server as the token validator (create OAuth client for PingDirectory)
description: Configure the PingDirectory server as the access token validator by creating an OAuth client in the PingFederate admin console.
component: pingdirectory
version: 11.1
page_id: pingdirectory:delegated_admin_application_guide:pd_da_config_pd_server_token_validator
canonical_url: https://docs.pingidentity.com/pingdirectory/11.1/delegated_admin_application_guide/pd_da_config_pd_server_token_validator.html
llms_txt: https://docs.pingidentity.com/pingdirectory/llms.txt
docs_for_agents: https://developer.pingidentity.com/build-with-ai/docs-for-agents.md
revdate: October 3, 2023
section_ids:
  about-this-task: About this task
  steps: Steps
---

# Configuring the PingDirectory server as the token validator (create OAuth client for PingDirectory)

When creating a PingFederate access token validator in the PingDirectory server, use the `pingdirectory` client ID and secret.

## About this task

The PingDirectory server uses an identity mapper to match the `sub` claim against the `entryUUID` attribute.

To configure the PingDirectory server as the token validator:

## Steps

1. Sign on to the PingFederate admin console.

2. Go to **Applications → OAuth → Clients**.

3. Click **Add Client**.

4. For both the **Client ID** and **Name**, specify `pingdirectory`.

5. In the **Client Authentication** section, select **Client Secret**.

6. In the **Client Secret** section, select **Change Secret** and then enter or generate a secret.

7. Copy the secret key.

8. In the **Allowed Grant Types** section, select **Access Token Validation (Client is a Resource Server)**.

9. Set the **Default Access Token Manager** to the access token manager you created in step 3 of [Configuring the OAuth server](pd_da_config_oauth_server.html).

10. Click **Save**.
