test_auth_flows
Test authentication workflows such as login, registration, password reset, and 2FA to ensure secure and functional enterprise authentication systems.
Instructions
Test authentication workflows
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flows | Yes | Authentication flows to test |
Implementation Reference
- src/index.ts:260-270 (handler)Handler for the 'test_auth_flows' tool. Extracts 'flows' from arguments, logs the request, and returns a text response indicating tests completed. The actual implementation is a placeholder comment.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(", ")}` }] }; }
- src/index.ts:133-150 (registration)Registration of the 'test_auth_flows' tool in the ListToolsRequestSchema handler. Includes name, description, and input schema defining an array of authentication flows to test (login, register, password-reset, 2fa).{ 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:136-149 (schema)Input schema for the 'test_auth_flows' tool, specifying an object with a required 'flows' array of strings from enum ['login', 'register', 'password-reset', '2fa'].inputSchema: { type: "object", properties: { flows: { type: "array", items: { type: "string", enum: ["login", "register", "password-reset", "2fa"] }, description: "Authentication flows to test" } }, required: ["flows"] }