Agent Registration
Register Endpoint
Changed onRegister a new agent client (RFC 7591).
post/register
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /register
- Auth: none required
Request body
Example request
{
"client_name": "invoice-reconciler",
"grant_types": [
"urn:ietf:params:oauth:grant-type:jwt-bearer"
],
"jwks": {
"keys": [
{
"crv": "Ed25519",
"kid": "agent-key-1",
"kty": "OKP",
"x": "11qYAYKxCrfVS_7TyWQHOg7hcvPapiMlrwIaaPcHURo"
}
]
},
"scope": "apis:read capabilities:execute",
"token_endpoint_auth_method": "private_key_jwt"
}Response
Successful Response
Example response
{
"claim_token": "dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk",
"client_id": "agnt_6968b3984d1c238dbe7e2e29",
"grant_types": [
"urn:ietf:params:oauth:grant-type:jwt-bearer"
],
"registration_access_token": "rat_example-secret",
"registration_client_uri": "https://jentic.example.com/register/agnt_6968b3984d1c238dbe7e2e29",
"status": "pending",
"token_endpoint_auth_method": "private_key_jwt"
}Changes
- info
added the optional property
to the response with the status
- info
- breaking
the
request property's minLength was increased from0to1 - warning
the
request property's maxLength was set to255
- breaking