Identity Backend Template — Architecture (agents)¶
Agent intent¶
Keep user lifecycle and credential logic in Identity. Keep protocol endpoints for token issuance in Authorization Server. Cross-wiring is allowed only via documented integration (stores, events, HTTP).
Canonical: Architecture — public
Integration diagram¶
flowchart LR
GW[API Gateway]
ID[Identity Backend]
AS[Authorization Server]
GW --> ID
AS --> ID
Hold "Alt" / "Option" to enable pan & zoom
Multi-tenancy¶
If the blueprint is SaaS, tenant isolation rules apply to stores and API routes—see public multitenancy guide.