---
title: Adding OAuth and OIDC templates
description: All templates are listed on the Templates page. To add a new template, click Add Template.
component: pingcentral
version: 2.2
page_id: pingcentral:pingcentral_for_iam_administrators:jig1566251638247
canonical_url: https://docs.pingidentity.com/pingcentral/2.2/pingcentral_for_iam_administrators/jig1566251638247.html
llms_txt: https://docs.pingidentity.com/pingcentral/llms.txt
docs_for_agents: https://developer.pingidentity.com/build-with-ai/docs-for-agents.md
revdate: December 14, 2023
section_ids:
  steps: Steps
  result: Result:
  result-2: Result:
---

# Adding OAuth and OIDC templates

## Steps

1. All templates are listed on the **Templates** page. To add a new template, click **Add Template**.

2. On the **Integration Type** page, select either an OAuth or OpenID Connect template. Click **Next**.

3. On the **Select OAuth Client** or **OIDC Client** page, select the PingFederate environment that hosts the client application you want to use as a template, and then select the application itself from the **Client** list.

   |   |                                                                                                                                                                                           |
   | - | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
   |   | If an environment is offline or if a PingCentral administrator has set the environment status to **Disabled**, you will be unable to select a disabled environment for template creation. |

   ### Result:

   You see details regarding the selected client.

   ![This example shows the information that displays when an OAuth client is selected.](_images/xkr1585249537055.png)

4. To see the JSON for the application, click **Review Configuration**.

5. On the **Name Template** page, add a name and description for your template.

   This information will help application owners select the appropriate template.

6. Select an icon to represent your template.

   The icon you choose is shown with the template name and description.

7. Click **Save and Close**.

   ### Result:

   You see the new template in the list of available application templates. Application owners will see the new template on the **Select Template** page.

   ![This example shows the Select Template screen, which lists the templates available for application owners to use.](../_images/jwq1600185986194.jpg)

   For OAuth or OIDC application templates, the following items are saved:

   * The client application

   * The ATM, if one exists

   * The parent ATM, if one exists

   * The OIDC policy, if one exists

   * Grant types

   * Definitions of exclusive scopes referenced by the client
