Skip to content

Send the user to sign in and consent

GET
/oauth/authorize
curl --request GET \
--url 'https://api.harperharbor.com/oauth/authorize?response_type=code&client_id=example&redirect_uri=https%3A%2F%2Fexample.com&scope=mcp%3Acard-writer&resource=https%3A%2F%2Fapi.harperharbor.com%2Fopen%2Fv1&state=example&code_challenge=example&code_challenge_method=S256'

A full-page navigation, not XHR. The server redirects to the sign-in and consent page, then back to redirect_uri with ?code=…&state=….

response_type
required
string
Allowed values: code
client_id
required
string
redirect_uri
required
string format: uri
scope
string
Example
mcp:card-writer
resource
required
string
Example
https://api.harperharbor.com/open/v1
state
required
string
code_challenge
required
string

Base64url(sha256(verifier))

code_challenge_method
required
string
Allowed values: S256

Redirect to sign-in