# The Backend OAuthApplication object

The Backend `OAuthApplication` object holds information about an OAuth application.

## Properties

| Property                                                   | Type                       | Description                                                                                                                                            |
| ---------------------------------------------------------- | -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| <a id="authorizeurl"></a> `authorizeUrl`                   | `string`                   | The URL used to authorize the user and obtain an authorization code.                                                                                   |
| <a id="clientid"></a> `clientId`                           | `string`                   | The ID of the client associated with the OAuth application.                                                                                            |
| <a id="clientimageurl"></a> `clientImageUrl`               | `null | string` | The URL of the image or logo representing the OAuth application.                                                                                       |
| <a id="clientsecret"></a> `clientSecret?`                  | `string`                   | The client secret associated with the OAuth application. Empty if public client.                                                                       |
| <a id="clienturi"></a> `clientUri`                         | `null | string` | The public-facing URL of the OAuth application, often shown on consent screens.                                                                        |
| <a id="consentscreenenabled"></a> `consentScreenEnabled`   | `boolean`                  | Specifies whether the consent screen should be displayed in the authentication flow. Cannot be disabled for dynamically registered OAuth applications. |
| <a id="createdat"></a> `createdAt`                         | `number`                   | The date when the OAuth application was first created.                                                                                                 |
| <a id="discoveryurl"></a> `discoveryUrl`                   | `string`                   | The OpenID Connect discovery endpoint URL for this OAuth application.                                                                                  |
| <a id="dynamicallyregistered"></a> `dynamicallyRegistered` | `boolean`                  | Specifies whether the OAuth application is dynamically registered.                                                                                     |
| <a id="id"></a> `id`                                       | `string`                   | The unique identifier for the OAuth application.                                                                                                       |
| <a id="instanceid"></a> `instanceId`                       | `string`                   | The ID of the instance that this OAuth application belongs to.                                                                                         |
| <a id="ispublic"></a> `isPublic`                           | `boolean`                  | Indicates whether the client is public. If true, the Proof Key of Code Exchange (PKCE) flow can be used.                                               |
| <a id="name"></a> `name`                                   | `string`                   | The name of the new OAuth application.                                                                                                                 |
| <a id="pkcerequired"></a> `pkceRequired`                   | `boolean`                  | Specifies whether the Proof Key of Code Exchange (PKCE) flow should be required in the authentication flow.                                            |
| <a id="redirecturis"></a> `redirectUris`                   | `string[]`      | An array of redirect URIs of the new OAuth application.                                                                                                |
| <a id="scopes"></a> `scopes`                               | `string`                   | Scopes for the new OAuth application.                                                                                                                  |
| <a id="tokenfetchurl"></a> `tokenFetchUrl`                 | `string`                   | The URL used by the client to exchange an authorization code for an access token.                                                                      |
| <a id="tokenintrospectionurl"></a> `tokenIntrospectionUrl` | `string`                   | The URL used to introspect and validate issued access tokens.                                                                                          |
| <a id="updatedat"></a> `updatedAt`                         | `number`                   | The date when the OAuth application was last updated.                                                                                                  |
| <a id="userinfourl"></a> `userInfoUrl`                     | `string`                   | The URL where the client can retrieve user information using an access token.                                                                          |

---

## Sitemap

[Overview of all docs pages](https://clerk.com/docs/llms.txt)
