Register a client (RFC 7591)
New/oauth/registerRegister a client
Dynamic client registration (RFC 7591) for public clients such as MCP apps and CLIs. No secret is issued — every client uses PKCE.
Notes
redirect_urismust behttps, orhttpon127.0.0.1/localhost(any port) for apps on the user's machine.- Self-registered clients show as "unverified" on the consent page; StableProxy staff can verify a client.
Query method
Query parameters
| Identifier | Regulations | Example |
|---|---|---|
| client_name | requiredstring | 75 |
| redirect_uris | requiredarray | [] |
| logo_uriNot necessarily | nullableurl | null |
| token_endpoint_auth_methodNot necessarily | nullablein:none | "none" |
Code examples
1const baseUrl = "https://api.stableproxy.com/v3";2const response = await fetch(baseUrl + "/oauth/register", {3 method: "POST",4 headers: {5 "Content-Type": "application/json"6 },7 body: JSON.stringify({8 "client_name": 75,9 "redirect_uris": "[]",10 "logo_uri": "null",11 "token_endpoint_auth_method": "\"none\""12 })13});14const data = await response.json();Examples of answers
{
"client_id": "3f6c2a0e-8b1d-4c6f-9a77-1d2e3f4a5b6c",
"client_name": "My scraper",
"redirect_uris": [
"http://127.0.0.1:53682/callback"
],
"token_endpoint_auth_method": "none",
"grant_types": [
"authorization_code",
"refresh_token"
],
"response_types": [
"code"
]
}