Authentication

Start OAuth device authorization.

Scope-less requests for the canonical /mcp resource defer permission selection to the signed-in device consent page; other omitted-scope requests stay read-only.

post/oauth/device/code

Request

  • Base URL: https://commentary.dev
  • URL: https://commentary.dev/oauth/device/code
  • Auth: none declared

Request body

client_idstring required
scopestring
targetstring

Target string such as account, github:owner/repo, github:owner/repo:pull:123, github:owner/repo:branch:main, or draft:sessionId.

resourcestring
client_namestring

Response

Successful response.

device_codestring
user_codestring
verification_uristring uri
verification_uri_completestring uri
expires_ininteger
intervalinteger

Changes

No recorded changes to this operation across all 1 revision of this API.