auth_login
Sign in user, authenticate, login user, password check, end-user login — log in an existing end user of your app. Returns user profile, authentication token, and session token.
Example:
{ "project_id": "my-saas", "email": "alice@example.com", "password": "s3cure!Pass" }
// Returns: { "user": { "id": "u_abc", "email": "alice@example.com" }, "token": "eyJ...", "session_token": "st_...", "refresh_token": "rt_..." }Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_id": "<project_id>",
"email": "<email>",
"password": "<password>"
},
"name": "auth_login"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | User's email | ||
| password | Yes | User's password | |
| project_id | Yes | Project ID (UUID), subdomain, or slug — resolved server-side, no UUID lookup needed. 'default' also works when the account has exactly one project; multi-project accounts must name one (the error lists them). |