Skip to content
ProductBlogOpen console
API

Render the PKCE consent page for omazy-cli

GET
/auth/cli/authorize
curl --request GET \
--url 'https://mw.omazy.ai/api/v1/auth/cli/authorize?client_id=example&response_type=example&code_challenge=example&code_challenge_method=example&redirect_uri=example&state=example&install_id=example' \
--header 'Authorization: <Authorization>'

Returns the HTML consent page. Caller must be authenticated. PKCE S256 only.

client_id
required
string

Must be ‘omazy-cli’

response_type
required
string

Must be ‘code’

code_challenge
required
string

Base64url-no-pad SHA256(verifier)

code_challenge_method
required
string

Must be ‘S256’

redirect_uri
required
string

Loopback 127.0.0.1/[::1] only

state
required
string

Anti-CSRF nonce

scope
string

Space-separated scopes

install_id
required
string

Stable per-install identifier

install_name
string

Human-readable label

HTML consent page

Media typetext/html
string

Missing/invalid parameter

Media typetext/html
string

Unauthorized

Media typetext/html
object
code
string
message
string