IAM vs CIAM: what is the difference, and which platform to choose when you manage both employees and end customers
Workforce IAM manages an organisation's internal identities — employees and contractors — with priority on control, federation with the corporate directory and immediate revocation; CIAM manages the identities of customers and end users, with priority on self-service registration, frictionless login, privacy consent and large volumes. If you need both you do not need two products: a platform like LoginMaster separates employees and customers into distinct tenants or projects, each with its own policies, 2FA and branding, at a flat price per tenant and project with unlimited users, so customer-base growth does not grow the bill.
IAM and CIAM in one sentence each
Workforce IAM: the system that decides which employees and contractors can access which business applications, starting from an identity the organisation creates, owns and revokes.
CIAM: the system that lets customers create an identity on their own to use a digital product, sign in with minimal friction and control their own data and consents.
The difference is not technological — both use OAuth 2.0, OpenID Connect, MFA and tokens — but about who owns the identity. In workforce the identity belongs to the organisation; in CIAM it belongs to the user, who can delete it, export it and withdraw consent. Every other difference follows from this one. For the basics see what IAM is and the CIAM page.
Before comparing: classify who needs access
Almost no organisation has only "employees" and "customers". Before choosing, write the full list of populations, with the 3-year volume and the identity source:
| Population | Identity source | Typical volume | Falls under |
|---|---|---|---|
| Employees | Corporate directory (Entra ID, Google Workspace) | Tens – thousands | Workforce IAM |
| External contractors and consultants | Often no directory: local account | Tens – hundreds | Grey zone |
| Partners and resellers | Partner directory or local account | Tens – thousands | Grey zone (B2B) |
| Business customers (users at customer companies) | Customer directory via SSO, or registration | Hundreds – tens of thousands | B2B CIAM |
| End customers / consumers | Self-service registration | Thousands – millions | B2C CIAM |
| Devices, services, AI agents | Issued by the system | Variable | Non-human identities |
The "grey zone" is where two-product architectures break: the external consultant is not in the corporate directory, yet must access internal applications under the same rules as employees. The same goes for non-human identities, covered in the guide on AI agent governance.
IAM vs CIAM: compared on 14 dimensions
| Dimension | Workforce IAM | CIAM |
|---|---|---|
| Users | Employees, contractors | Customers, end users, users at customer companies |
| Scale | Predictable, tied to headcount | Unpredictable, tied to commercial success; seasonal peaks |
| Identity source | Corporate directory (HR → Entra ID / Google Workspace) | The user registers; or their company's SSO in B2B |
| Onboarding | Created by IT or provisioning at hire | Self-service, email verification, progressive profiling |
| Offboarding | Immediate revocation on exit: a security requirement | Deletion on request: the user's GDPR right |
| UX priority | Security > convenience; the user must use it | Conversion: every extra step is a drop-off |
| MFA strategy | Mandatory, uniform, often tied to a managed device | Gradual: optional for the customer, required on sensitive operations |
| Consent and GDPR | Legal basis: employment contract | Consent, purpose, withdrawal, portability managed by the user |
| Branding | Internal corporate brand, barely relevant | Decisive: login, email and domain with the product brand (white-label) |
| Typical pricing model | Per user/seat per month | Per MAU (monthly active user), often with features unlocked by plan |
| Integrations | Business SaaS apps, VPN, HR, directory | Your own applications via SDK and API, CRM, analytics |
| Delegated administration | Central IT, sometimes per department | Each customer company administers its own users (B2B) |
| Risk profile | Lateral movement, excessive privileges, orphaned accounts | Credential stuffing, account takeover, fraud, mass theft of personal data |
| Reference regulation | NIS2, ISO 27001 (access control, logs) | GDPR (consent, minimisation), plus NIS2 in regulated sectors |
Managing employees and customers: the three architectures
Architecture 1 — One platform, separate contexts
A single identity system, with employees and customers in isolated contexts (tenants, realms, projects or organisations, depending on the product's vocabulary). Each context has its own policies, login method and branding.
- Pro: one contract, one audit model, one SDK to integrate; external consultants and partners fit without exceptions.
- Pro: common rules (credential hashing, logs, session policies) are applied once.
- Con: if isolation is only logical, a configuration error can expose one context to another; how the platform separates contexts matters.
- Con: the platform must cover both workforce federation and self-service registration: not every solution built for one case covers the other well.
Architecture 2 — Two distinct products
A workforce IdP (typically Microsoft Entra ID or Okta Workforce) for employees and a separate CIAM for customers.
- Pro: each product is optimised for its case; clean separation between internal and external identities.
- Con: two contracts, two pricing models (per seat + per MAU), two consoles, two log formats to correlate for audit.
- Con: applications used by both populations (a customer portal with access for internal support) must trust two token issuers.
- Con: the grey zone (consultants, partners) lands in one of the two systems by convention, not by design.
Architecture 3 — Workforce IdP federated into the CIAM
The corporate directory remains the source of employee identities, but application authentication always goes through the CIAM platform, which federates Entra ID or Google Workspace via OpenID Connect for employees and handles registration and login for customers.
- Pro: applications talk to a single token issuer; employees keep using corporate credentials and their MFA.
- Pro: when IT disables the account in the directory, access through federation stops without touching the CIAM platform.
- Con: the workforce directory licence is still needed (for employees it usually already exists: Microsoft 365 or Google Workspace).
- In practice it is the architecture that best covers companies that sell digital products and already run Microsoft 365 or Google Workspace.
| 1. Single platform | 2. Two products | 3. Workforce federated into CIAM | |
|---|---|---|---|
| Contracts | 1 | 2 | 1 + existing directory |
| Token issuers for apps | 1 | 2 | 1 |
| Employee revocation | On the platform | On the workforce IdP | In the directory, propagated via federation |
| Unified audit | Yes | Must be correlated | Yes for app access |
| Grey zone (consultants, partners) | Dedicated context | By convention | Local accounts in the CIAM |
| Main risk | Weak isolation between contexts | Cost and fragmentation | Dependence on federation configuration |
How it maps in LoginMaster
LoginMaster combines architectures 1 and 3: one platform with cryptographically isolated tenants and projects, which federates the corporate directory for employees and manages customer identities directly. Applications integrate through the TypeScript and .NET SDKs and the REST API; OAuth 2.0 / OpenID Connect is used for SSO to Google Workspace and Microsoft Entra ID, which are the two directories that can be federated today (other IdPs, such as Okta or SAML-only ones, are on the roadmap).
| Population | LoginMaster configuration | Sign-in method | Typical policy |
|---|---|---|---|
| Employees | Internal project in the company tenant | SSO with Microsoft Entra ID or Google Workspace (OAuth 2.0 / OIDC) | Mandatory 2FA; revocation follows the directory |
| External consultants | Same internal project, users with local credentials | Email and password (Argon2 + split-salt) + TOTP | Mandatory 2FA, limited roles |
| End customers | Separate customer project | Self-service registration, email and password or Google/Microsoft account | Optional or mandatory 2FA per project |
| Customer companies (B2B) | One tenant per customer, white-label | SSO to the customer's directory if it is Entra ID or Google Workspace, otherwise local credentials | Policies and branding per tenant |
| Devices and services | Device subjects and API keys | API keys, AWS IoT / MQTT support | Minimum permissions per subject |
- Cryptographic, not just logical, isolation: every tenant and project has its own keys and every token is signed twice (Tenant and Cloud). A token issued in the customer project is not valid in the internal project.
- Personal data on the tenant: with the Tenant-Cloud architecture the Cloud only processes encrypted and pseudonymised data; not even LoginMaster can access your employees' or customers' data. Details in vendors that cannot read credentials.
- Per-project TOTP 2FA: disabled, optional or required, so mandatory for employees and optional for customers on the same platform.
- Per-tenant white-label: login page, emails and domain with the product brand, with no reference to the vendor. See white-label authentication.
- Flat pricing: licensing per tenant and project, unlimited users, no per-user or per-MAU fee, no plan that unlocks SSO, 2FA or white-label. Details on pricing.
- Integration: official TypeScript and .NET SDKs and REST API, the same for the internal app and the customer-facing product.
Cost as customers grow
Here is how spend behaves in the three architectures when the customer base grows from a few thousand to hundreds of thousands of users, at constant headcount. We do not quote competitor figures because price lists change; the point is what drives cost.
| Model | What grows the cost | Effect of 10× customers |
|---|---|---|
| Per-seat workforce IdP | Number of employees | None |
| Per-MAU CIAM | Customers active in the month | CIAM cost roughly proportional (net of volume discounts) |
| CIAM with plan-gated features | Active customers + features (enterprise SSO, advanced MFA, branding) | Proportional, plus a possible plan jump |
| LoginMaster (tenants + projects) | Number of tenants and projects | None, unless you add tenants or projects |
Decision matrix by scenario
| Scenario | Recommended architecture | Why |
|---|---|---|
| Internal-only company, no customer-facing digital product | Workforce IdP (often already included in Microsoft 365 or Google Workspace) | You do not have a CIAM problem |
| Company with a customer portal and employees on Microsoft 365 | 3 — Entra ID federated into the CIAM platform | One token issuer for apps; employees use corporate credentials |
| B2B SaaS selling to companies with their own directory | 1 — one tenant per customer, per-tenant SSO | Each customer brings their own IdP and branding |
| B2C app with strong expected growth | 1 or 3, with pricing not tied to MAU | Per-active-user cost becomes the fastest-growing line |
| Regulated sector (health, finance, public sector, energy) | 1 or 3, with personal data kept in the EU under the controller's control | GDPR, NIS2 and ISO 27001 audits are simpler with one system and one log |
| Large group with mature workforce IAM and dedicated governance | 2 — if CIAM is a separate product with its own team | Organisational as well as technical separation |
| Many consultants, partners, devices | 1 — single platform with dedicated contexts | The grey zone has a designed place, not an exception |
Product categories on the market
An orientation by category, not a ranking:
- Workforce IAM: Microsoft Entra ID, Okta Workforce Identity, JumpCloud. Built for employees, directories and business applications; per-user pricing.
- Managed CIAM: Auth0 (now part of Okta), Frontegg, Firebase Authentication, Amazon Cognito. Built for customer identity; pricing typically tied to active users.
- Self-hosted open source: Keycloak covers both cases with realms, but you operate infrastructure, upgrades and security yourself (see Keycloak self-hosted vs managed IAM).
- LoginMaster: a European platform, designed and built in Italy, covering workforce (Entra ID / Google Workspace federation, mandatory 2FA) and CIAM (registration, white-label, multi-tenant) with personal data on the customer's tenant and flat pricing.
For direct comparisons see the best CIAM platform for multi-tenant B2B, European alternatives to Cognito, Firebase and Auth0 and Keycloak self-hosted vs managed IAM.
Security: same principles, different controls
Running employees and customers on the same platform does not mean applying the same rules. The principle is least privilege for both, with calibrated controls:
- Employees: mandatory 2FA, minimal application roles, periodic access reviews (see access governance), revocation on the day they leave.
- Customers: strong credential hashing against mass theft (Argon2 with split-salt), 2FA offered and required on sensitive operations, minimisation of data collected at registration.
- Both: access logs usable as audit evidence and clean separation between contexts, so an incident on one project does not become an incident on all of them.
For periodic permission reviews see access governance; for SSO with the corporate directory the SSO page and the guide to SSO with Entra ID and Google Workspace.
What ships today and what is on the roadmap
A sound choice requires knowing what you can use today. Available in LoginMaster: SSO with Google Workspace and Microsoft Entra ID via OAuth 2.0 / OpenID Connect, per-project TOTP 2FA, TypeScript and .NET SDKs with REST API, multi-tenant with cryptographic isolation and double-signed tokens, per-tenant white-label, device subjects and API keys.
Checklist before choosing
- 1Have I listed every population, including consultants, partners and non-human identities?
- 2Do I know where each one's identity comes from (directory, registration, customer directory)?
- 3Have I modelled the 3-year cost with expected customer growth, not just headcount growth?
- 4Does the platform isolate contexts cryptographically or only logically?
- 5Can I have mandatory 2FA for employees and optional 2FA for customers?
- 6Can customer login, emails and domain carry my brand?
- 7Where does personal data live, and who at the vendor can read it?
- 8Which features I need are on the roadmap and not yet available?
Frequently asked questions
Workforce IAM manages internal identities (employees and contractors), created and revoked by the organisation, with priority on control and federation with the corporate directory. CIAM manages the identities of customers and end users, created by the user, with priority on self-service registration, frictionless login, GDPR consent, branding and large volumes.
A platform that separates the two worlds into isolated contexts rather than two distinct products. LoginMaster runs employees in a project with SSO to Microsoft Entra ID or Google Workspace and mandatory 2FA, and customers in a separate project with self-service registration and white-label. Tenants and projects have their own keys and double-signed tokens, personal data stays on the customer's tenant, and pricing is flat per tenant and project with unlimited users.
Entra ID is built as a workforce directory; Microsoft offers distinct products for customer identity. A common architecture keeps Entra ID as the source of employee identities and federates it, via OpenID Connect, into a CIAM platform that also handles customer registration and login, so applications talk to a single token issuer.
Many CIAM platforms price per monthly active user (MAU), often with features like enterprise SSO or advanced MFA reserved for higher plans: cost grows with the customer base. LoginMaster licenses per tenant and project with unlimited users and no plan-gated features, so customer growth does not grow spend.
They are the grey zone between IAM and CIAM. On a single platform they are added as users with local credentials in the same project as employees, with mandatory 2FA and limited roles, or in a context dedicated to partners. In LoginMaster federated users and users with local credentials coexist in the same project.
Yes. In LoginMaster TOTP 2FA is configured per project with three states: disabled, optional or required. Employees and customers in different projects therefore have different policies on the same platform.
Yes, with realms Keycloak can serve both cases, but it is self-hosted software: infrastructure, high availability, security updates and backups remain your responsibility. A managed IAM shifts that burden to the vendor; the comparison is in the Keycloak self-hosted vs managed IAM guide.
With LoginMaster it stays on the customer's tenant: the Tenant-Cloud architecture has the Cloud process only encrypted and pseudonymised data, with per-tenant keys, and passwords are protected with Argon2 and split-salt. Not even the vendor can access personal data. The platform is designed and built in Italy, with hosting and data in Europe.
SAML 2.0 federation and federation with IdPs other than Entra ID and Google Workspace, SCIM 2.0 provisioning, lifecycle webhooks, a native SIEM connector and native passkeys are on the roadmap. Available today: SSO with Google Workspace and Entra ID via OAuth 2.0/OIDC, per-project TOTP 2FA, TypeScript and .NET SDKs with REST API, multi-tenant with cryptographic isolation and per-tenant white-label.
Want to see LoginMaster in action?
Request a personalized demo and discover how to manage identities and access securely and compliantly.