# İstemci kaydı

`POST /oauth/register`

Dinamik istemci kaydı (RFC 7591). `redirect_uris` https ya da yerel geri döngü (`http://localhost`, `127.0.0.1`, `[::1]`) olmalı; en çok 10. `token_endpoint_auth_method: none` genel (public) istemci, `client_secret_post` / `client_secret_basic` gizli anahtarlı istemci açar.

## Gövde

| Alan | Tür | Açıklama |
|---|---|---|
| `redirect_uris` (zorunlu) | array<string> | Dönüş adresleri. |
| `client_name` | string | Onay ekranında görünen ad. |
| `client_uri` | string | Uygulamanın sitesi (https). |
| `token_endpoint_auth_method` | string | İstemci kimlik doğrulaması. Değerler: `none`, `client_secret_post`, `client_secret_basic` |
| `grant_types` | array<string> | `authorization_code`, `refresh_token`. |

## Yanıt

```json 201
{
  "client_id": "crm_sN-deD6QaASdSwwlE2np8BWe",
  "client_id_issued_at": 1790960821,
  "client_name": "Örnek Entegrasyon",
  "grant_types": [
    "authorization_code",
    "refresh_token"
  ],
  "redirect_uris": [
    "https://uygulamaniz.com/oauth/callback"
  ],
  "response_types": [
    "code"
  ],
  "token_endpoint_auth_method": "none"
}
```
