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

# Get OAuth2 application secrets.

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

## Path parameters

- `app` string, required

## Response `200`

OK

- CodersdkOAuth2ProviderAppSecret[]
  - `client_secret_truncated` string
  - `id` string, uuid
  - `last_used_at` string

---

[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)
