Authenticate user
Authenticate using wallet signature (nonce) or email/password
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Wallet-based authentication using nonce signature
Response Body
application/json
curl -X POST "https://example.com/auth/login" \ -H "Content-Type: application/json" \ -d '{ "method": "wallet", "address": "0x1f9840a85d5af5bf1d1762f925bdaddc4201f984", "signature": "string" }'{ "accessToken": "string", "refreshToken": "string", "user": { "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "role": "basic", "providerId": "string", "loginMethod": "email" }}