Skip to main content
Glama

test_auth_flows

Test authentication workflows including login, registration, password reset, and 2FA to verify system functionality and security.

Instructions

Test authentication workflows

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
flowsYesAuthentication flows to test

Implementation Reference

  • Handler for the 'test_auth_flows' tool. Extracts 'flows' argument, logs it, and returns a text response indicating tests completed. Currently a placeholder implementation.
    case "test_auth_flows": { const { flows } = request.params.arguments as { flows: string[] }; logger.info(`Testing auth flows: ${flows.join(", ")}`); // Implementation would test specified authentication flows return { content: [{ type: "text", text: `Auth flow tests completed for: ${flows.join(", ")}` }] }; }
  • Schema and registration for 'test_auth_flows' tool in the listTools response, defining input as array of auth flow names with enum values.
    { name: "test_auth_flows", description: "Test authentication workflows", inputSchema: { type: "object", properties: { flows: { type: "array", items: { type: "string", enum: ["login", "register", "password-reset", "2fa"] }, description: "Authentication flows to test" } }, required: ["flows"] } },
  • src/index.ts:133-150 (registration)
    The tool is registered here in the list of tools returned by listTools handler.
    { name: "test_auth_flows", description: "Test authentication workflows", inputSchema: { type: "object", properties: { flows: { type: "array", items: { type: "string", enum: ["login", "register", "password-reset", "2fa"] }, description: "Authentication flows to test" } }, required: ["flows"] } },

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nahmanmate/better-auth-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server