---
title: "Create OAuth2 application secret."
method: POST
path: "/api/v2/oauth2-provider/apps/{app}/secrets"
tags: ["Enterprise"]
---

# Create OAuth2 application secret.

`POST /api/v2/oauth2-provider/apps/{app}/secrets`

## Path parameters

- `app` string, required

## Response `200`

OK

- CodersdkOAuth2ProviderAppSecretFull[]
  - `client_secret_full` string
  - `id` string, uuid

---

[API](https://skmtc.net/coder/apis/coder-api.md) · [All operations](https://skmtc.net/coder/apis/coder-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/coder/coder-api/versions/56b6e9f08540/schema)
