This is a demo catalog. Create one for your own architecture with a single prompt.

Get started →

Customer and identity

How customer profiles and authentication are separated across Customer Management and Identity Provider systems.

Domain guide

CustomerDomainv1.0.0CustomerThe Customer domain owns who our customers are — how they register, how their profile is maintained, and how they are au...Ownercustomer-platformDiagramOpen docs owns customer profile data and customer authentication. The catalog separates profile management from identity management so customer details and credentials have different operational boundaries.

System context map

Customer Management System

Customer Management SystemSystemv1.0.0Customer Management SystemInternal system that is the source of truth for customer profile data. Owns the customer database and publishes customer...Ownercustomer-platformDiagramOpen docs owns Customer DatabaseContainerv1.0.0Customer DatabasePostgreSQL database that is the system of record for all customer profile data.Ownercustomer-platformDiagramOpen docs. Customer APIServicev1.0.0Customer APIThe public-facing API for customer profiles. Handles commands to register and update customers, serves customer reads, a...Publishescustomer-registered, customer-updatedSubscribesregister-customer, update-customer +1APIsOpenAPIOwnercustomer-platformDiagramRepositoryOpen docs handles:

It publishes Customer RegisteredEventv1.0.0Customer RegisteredPublished when a new customer has registered. Ownercustomer-platformSchemaDiagramOpen docs and Customer UpdatedEventv1.0.0Customer UpdatedPublished when an existing customer's profile has changed. Ownercustomer-platformSchemaDiagramOpen docs so other capabilities can react to profile changes.

Identity Provider

Identity ProviderSystemv1.0.0Identity ProviderThe identity system that authenticates customers. It is the source of truth for credentials and login, verifies sign-in ...Ownercustomer-platformDiagramOpen docs owns authentication state in User DirectoryContainerv1.0.0User DirectoryThe directory of customer credentials and identities — the source of truth for authentication.Ownercustomer-platformDiagramOpen docs. OAuth APIServicev1.0.0OAuth APIOAuth-style authentication API for the Identity Provider. Verifies customer credentials and publishes an event when a cu...Publishescustomer-authenticatedSubscribesauthenticate-customerOwnercustomer-platformDiagramRepositoryOpen docs handles Authenticate CustomerCommandv1.0.0Authenticate CustomerCommand to authenticate a customer with their credentials. Ownercustomer-platformSchemaDiagramOpen docs and emits Customer AuthenticatedEventv1.0.0Customer AuthenticatedPublished when a customer has successfully authenticated. Ownercustomer-platformSchemaDiagramOpen docs.

Integration guidance

Services that need customer profile details should use Get CustomerQueryv1.0.0Get CustomerQuery to fetch a single customer by their identifier. Ownercustomer-platformSchemaDiagramOpen docs or consume customer events where a local read model is appropriate. Services that need authentication should integrate with the identity boundary, not the profile database.

This split prevents order, review and payment systems from accidentally depending on credential storage.