> ## Documentation Index
> Fetch the complete documentation index at: https://docs.prophecy.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# M2M OAuth

> API properties for OAuth secrets

Properties for M2M OAuth secrets are specified in the `properties` object when creating or updating a secret. OAuth secrets store OAuth 2.0 client credentials including client ID, client secret, and authorization URL.

## Properties

**name** `string` *required*

The key name for the secret. This name is used to reference the secret in connections and other
resources.

**value** `object` *required*

OAuth 2.0 credentials object containing client authentication details.

**value properties**

**value.clientId** `string` *required*

The OAuth 2.0 client identifier. This is the public identifier for your OAuth application.

**value.clientSecret** `string` *required*

The OAuth 2.0 client secret. This is the private credential used to authenticate your application.

**value.authUrl** `string` *required*

The authorization URL for the OAuth provider. This is the base URL where OAuth authentication requests are sent.

**value.scope** `string`

OAuth 2.0 scope string specifying the permissions requested from the OAuth provider. Multiple scopes should be space-separated.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.