---
title: "Register a public OAuth client."
method: POST
path: "/oauth/register"
tags: ["Authentication"]
---

# Register a public OAuth client.

`POST /oauth/register`

## Request

- Base URL: `https://commentary.dev`
- URL: `https://commentary.dev/oauth/register`
- Auth: none declared

## Request body

- object
  - `client_name` string
  - `redirect_uris` string[]
  - `grant_types` string[]
  - `response_types` string[]
  - `scope` string
  - `token_endpoint_auth_method` 'none'

## Response `201`

Successful response.

- object
  - `client_id` string
  - `client_name` string, nullable
  - `redirect_uris` string[]
  - `token_endpoint_auth_method` 'none'

## Other responses

- `400`: OAuth request error.
- `429`: The request was rate limited.

---

[API](https://skmtc.dev/commentary/apis/commentary-public-api.md) · [All operations](https://skmtc.dev/commentary/apis/commentary-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/commentary/apis/commentary-public-api/revisions/7aaafc198c52?raw)
