---
title: Customize claims with the OpenID Connect 1.0 claims script
description: Use the OIDC Claims script to customize claims issued in ID tokens and returned from the userinfo endpoint in PingAM
component: pingam
version: 8.1
page_id: pingam:am-oidc1:scripted-oidc-claims
canonical_url: https://docs.pingidentity.com/pingam/8.1/am-oidc1/scripted-oidc-claims.html
llms_txt: https://docs.pingidentity.com/pingam/llms.txt
docs_for_agents: https://developer.pingidentity.com/build-with-ai/docs-for-agents.md
revdate: 2026-06-01T14:11:17Z
keywords: ["OpenID Connect (OIDC)", "Standards", "Customization", "Extensibility"]
page_aliases: ["oidc1-guide:scripted-oidc-claims.adoc"]
---

# Customize claims with the OpenID Connect 1.0 claims script

The `OIDC Claims` script is part of the user info claims plugin, one of the OAuth 2.0 plugin extension points provided by AM. Use this extension point when issuing an ID token or during a request to the `/userinfo` OpenID Connect endpoint.

To configure a different script of the type `OIDC Claims`, go to Realms > *realm name* > Services > OAuth 2.0 Provider > Plugins, and select it in the OIDC Claims Script drop-down menu.

Alternatively, to configure a different script as the default for all new OAuth2 providers, update the setting in Configure > Global Services > OAuth2 Provider > Plugins.

To examine the contents of the default OIDC claims script and to view the available script properties, go to Realms > *realm name* > Scripts, and select the OIDC Claims Script.

|   |                                                                                                                                                                                                                                                |
| - | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|   | For information about how to configure OAuth 2.0 plugins, see [Customize OAuth 2.0](../am-oauth2/customizing-oauth2-scopes.html).For details about the user info claims plugin, see [OIDC claims](../am-oauth2/plugins-user-info-claims.html). |
