---
title: OAuth 2.0 / OIDC scripting API
description: You can use scripts to customize OAuth 2.0 authorization server behavior or OIDC dynamic client registration.
component: pingam
version: 8.1
page_id: pingam:am-scripting:oauth2-scripting-api
canonical_url: https://docs.pingidentity.com/pingam/8.1/am-scripting/oauth2-scripting-api.html
page_aliases: ["scripting-guide:oauth2-scripting-api.adoc"]
---

# OAuth 2.0 / OIDC scripting API

You can use scripts to customize OAuth 2.0 authorization server behavior or OIDC dynamic client registration.

The OAuth 2.0 and OIDC scripts all have access to [common bindings](script-bindings.html), such as `httpClient`, `logger`, and `scriptName`. The bindings available depend on whether you use a [legacy or a next-generation](scripting-env.html) script.

Refer to the individual scripting APIs for specific bindings.
