Authenticate a user (password)
auth_with_passwordAuthenticate a user with email/username and password to receive an auth token and user record. Use it to verify credentials or act on behalf of a user.
Instructions
Authenticate an end user against an auth collection with their identity (email/username) and password. Returns the auth token and the user record. Does not affect the MCP's own superuser session. Useful to obtain a token to act on behalf of a user or to verify credentials.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expand | No | Comma-separated relations to expand on the record. | |
| identity | Yes | Email or username. | |
| password | Yes | User password. | |
| collection | No | Auth collection (default 'users'). |