---
title: Updating OAuth and OIDC templates
description: To update an OAuth or OIDC template, click the Expand icon associated with the template.
component: pingcentral
version: 2.2
page_id: pingcentral:pingcentral_for_iam_administrators:pingcentral_updating_oauth_templates
canonical_url: https://docs.pingidentity.com/pingcentral/2.2/pingcentral_for_iam_administrators/pingcentral_updating_oauth_templates.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
---

# Updating OAuth and OIDC templates

## Steps

1. To update an OAuth or OIDC template, click the **Expand** icon associated with the template.

2. If the template is based on an outdated configuration, you can click the **Sync** button to sync the template with the latest configuration available.

   |   |                                                                                                                                                                                                                                       |
   | - | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
   |   | When you upgrade to PingCentral 2.0, OAuth and OIDC templates created prior to version 2.0 cannot be synced with the most recent configuration available. Recreate the template in version 2.0 to use the sync feature going forward. |

3. Click the **Pencil** icon to make additional changes.

   All of the editable information is on one page.

   | Option                                    | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
   | ----------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
   | To update the name, description, or icon: | Update the information in the **Name** and **Description** fields or select a new icon to represent the template.                                                                                                                                                                                                                                                                                                                                                                                                                                               |
   | To update grant types:                    | To update the grant types used for authorization, select or deselect the grant types that you want to use for this template.For details, see [Grant Types](https://docs.pingidentity.com/csh?Product=pf-latest\&context=pf_grant_types) in the *PingFederate Server* guide.&#xA;&#xA;Some grant types might not be available with your version of PingFederate.                                                                                                                                                                                                 |
   | To update scopes:                         | To add or update scopes, search for them and select or deselect the scopes that you want to use for this template.For details, see [Scopes](https://docs.pingidentity.com/csh?Product=pf-latest\&context=pf_scopes) in the *PingFederate Server* guide.                                                                                                                                                                                                                                                                                                         |
   | To update policy contracts:               | Add, delete, or update the current attribute mappings in the PingFederate policy contract associated with this template.For details, see [Attribute contracts](https://docs.pingidentity.com/csh?Product=pf-latest\&context=pf_attr_contract) in the *PingFederate Server* guide.&#xA;&#xA;If you update a policy contract, a new contract is created in PingFederate, and you will be prompted to name it.&#xA;&#xA;	If a template is associated with an environment that is deleted, you will not be able to update OIDC policy information for the template. |

4. Click **Save**.

   If you updated the grant types, scopes, or policy contract information, the **Save Template** window displays and reminds you that you are creating a new version of this template. Applications created from the previous template will not change until you update the application to the latest template version. Briefly describe the updates you made to the template in the **Comments** field for tracking purposes and click **Save**.
