{"library":"n8n-nodes-auth-service","title":"n8n-nodes-auth-service","description":"n8n community node package (v0.4.6, stable) integrating with Auth Service, a self-hosted token authentication and authorization microservice. Provides two nodes: an Auth Service action node for full API access (validate tokens, manage zones and tokens) and an Auth Webhook trigger node that automatically validates tokens before workflow execution, replacing a multi-node setup. Key differentiators: zone-based permissions with read/write/delete/all levels; Docker deployment with Redis + SQLite/PostgreSQL; MFA-protected admin dashboard. Ships TypeScript types, depends on n8n-workflow.","language":"javascript","status":"active","last_verified":"Mon Apr 27","install":{"commands":["npm install n8n-nodes-auth-service"],"cli":null},"imports":["import { AuthServiceV1 } from 'n8n-nodes-auth-service'","import { AuthWebhookV1 } from 'n8n-nodes-auth-service'","import { N8nNodeAuthService } from 'n8n-nodes-auth-service/types'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"// n8n workflow using Auth Service node via code (not UI)\nimport { Workflow, WorkflowDataProxy } from 'n8n-workflow';\nimport { AuthServiceV1 } from 'n8n-nodes-auth-service';\n\n// Example: Validate token node\nconst node = new AuthServiceV1();\nconst result = await node.execute({\n  credentials: {\n    authServiceApi: {\n      baseUrl: process.env.AUTH_SERVICE_BASE_URL ?? 'http://localhost:8080',\n      apiKey: process.env.AUTH_SERVICE_API_KEY ?? ''\n    }\n  },\n  parameters: {\n    operation: 'validateToken',\n    token: 'Bearer my-token',\n    zone: 'orders',\n    level: 'read'\n  }\n});\nconsole.log('Validation result:', result);\n// Output: { result: true }","lang":"typescript","description":"Shows how to use the Auth Service node programmatically to validate a token against a zone with read level.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}