Authentication
Exchange Signed Challenge for JWT
Authenticate an agent by verifying a signed nonce and return a JWT access token with embedded permissions and resource scopes.
post/auth/token
Request body
Example request
{
"agent_id": "agent-ebd9cd4a-1234-5678-90ab-cdef01234567",
"nonce": "2024-01-15T10:30:00Z-agent-ebd9cd4a-1234567890abcdef",
"signature": "MEUCIQCxxx..."
}Response
JWT token issued successfully
Example response
{
"access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"token_type": "bearer"
}