Auth
Verify SIWE signature and create a session
Verifies the SIWE message and signature, creates a session, and returns agent info
post/api/auth/login
Request body
Example request
{
"message": "service.example.com wants you to sign in with your Ethereum account:\n0x123...\n\nI accept the ServiceOrg Terms of Service: https://service.example.com/tos\n\nURI: https://service.example.com/login\nVersion: 1\nChain ID: 1\nNonce: 8J0eXAiOiJ...\nIssued At: 2023-01-01T00:00:00.000Z",
"signature": "0x123abc..."
}Response
Authentication successful, session created
Example response
{
"agentId": "agent_123abc",
"wallet": "0x123..."
}