A customer identity design built for millions of individual consumers fails in predictable ways when it is sold to businesses, and a design built for business tenants fails just as predictably when it is opened to the public. B2C CIAM is shaped by scale, fraud, bots and privacy law; B2B CIAM is shaped by federation, delegated administration and tenant isolation. Both sit under the CIAM label, both are often bought from the same platforms, and teams routinely carry assumptions from one into the other. This guide compares the two side by side: the threat model each faces, the architecture each needs, where each breaks, the controls that matter, and how to decide when a product serves both. It is written for product security leads, identity architects and CIAM platform owners. For the B2B organisation model in detail see the B2B CIAM and Organisation Management Guide; for consumer patterns see the Customer IAM (CIAM) Guide.
Key takeaways
- The trust anchor differs. In B2C the individual owns the account and your platform is the identity provider; in B2B the customer organisation owns the user, usually through its own identity provider, and you are mostly a relying party.
- The dominant threats differ. B2C is attacked at volume: credential stuffing (OWASP OAT-008), fake account creation (OAT-019) and account recovery abuse. B2B is attacked through trust: a hostile tenant, a misconfigured federation, a compromised customer administrator, or a missing tenant check.
- Isolation is the B2B non-negotiable. OWASP ASVS 5.0 V8.4.1 requires cross-tenant controls so operations never affect tenants the caller may not touch, and V6.8.1 requires that one identity provider cannot spoof users from another.
- Friction budgets are opposite. Consumers abandon sign-up over one extra step, so B2C uses risk-based and progressive controls; business users accept enterprise SSO and their employer's MFA, so B2B pushes authentication strength to the customer's identity provider and verifies it.
- Hybrid products need two models, not one compromise. When a business customer's staff and that customer's own consumers share a platform, keep the B2B organisation layer and the B2C consumer pool distinct, with separate policies, admin paths and fraud controls.
The short answer
Choose a B2C design when your users are individuals who sign up themselves, there is no organisation that administers them, and your main risks are account takeover, fraud and privacy obligations at scale. Choose a B2B design when your customers are organisations that expect their own SSO, their own provisioning, their own administrators and contractual guarantees that no other customer can see their data. If you sell to businesses whose staff use the product and also serve those businesses' end customers, you are running B2B2C and need both: an organisation layer for the business tenants and a consumer identity pool with its own controls. The broader contrast with employee identity is covered in CIAM vs Workforce IAM.
B2B and B2C CIAM side by side
| Dimension | B2C CIAM | B2B CIAM |
|---|---|---|
| Who controls the identity | The individual, through your platform | The customer organisation, often through its own IdP |
| Typical population | Hundreds of thousands to hundreds of millions of individuals | Tens to thousands of organisations, each with a handful to tens of thousands of users |
| Registration | Self-service sign-up, social login, progressive profiling | Invitation, just-in-time creation from SSO, SCIM provisioning from the customer |
| Authentication | Passwords moving to passkeys; risk-based step-up | Per-tenant SAML or OIDC federation; local accounts with MFA for small customers |
| Assurance source | Your own authenticators and risk engine | The customer IdP's authentication, checked through acr or amr claims (ASVS V6.8.4) |
| Administration | Your support team | Customer administrators (delegated) plus your support team |
| Main threats | Credential stuffing, fake accounts, bot sign-ups, SIM swap and recovery fraud, loyalty and payment fraud | Cross-tenant data access, domain hijack of sign-in routing, malicious federation changes, admin account takeover, vendor support misuse |
| Leaver handling | User deletes the account; dormant accounts expire | Customer IdP disables the user; SCIM deactivation and session revocation must follow |
| Privacy posture | You are typically the controller for consumer data; consent and data subject rights at scale | Often a processor for customer staff data under contract; customer sets retention and residency terms |
| Commercial pressure | Conversion and drop-off rates | Security questionnaires, SSO and SCIM as deal requirements |
The privacy row is a common pattern, not a rule: controller and processor roles depend on your contracts and processing purposes, so confirm them with counsel for each product.
B2C CIAM: threat model and architecture
Threat model. The attacker is usually automated and economically motivated. Credential stuffing (ATT&CK T1110.004, OWASP OAT-008) replays passwords leaked elsewhere; fake account creation (OAT-019) farms sign-up bonuses or builds bot networks; recovery flows are abused with SIM swaps and social engineering of support staff; and session or token theft through infostealers bypasses the login page entirely. The 23andMe Breach 2023 shows the shape: reused passwords opened about 14,000 accounts, and a data-sharing feature between users widened exposure to almost 7 million people, with fewer than 22 per cent of customers using MFA or SSO.
Architecture in words. A single user pool (or a small number by region) holds individual accounts. Front-door traffic passes bot management and rate limiting before the authentication service. Sign-in offers passkeys, a password with breach checks, social login and email or phone verification. A risk engine scores each attempt on device, network and behaviour signals and steps up when needed. Consent and preference records sit beside the profile. Support tooling can reset factors, so it is itself a privileged channel.
Controls that carry the most weight.
- Phishing-resistant, low-friction factors: NIST SP 800-63B-4 permits syncable authenticators up to AAL2 but states they "SHALL NOT be used at AAL3". For most consumer services that makes synced passkeys the strongest realistic default. See the Passkeys for Everyone Guide.
- Password rules where passwords remain: SP 800-63B-4 requires at least 15 characters for single-factor passwords and at least 8 when used with another factor, and limits consecutive failed attempts to no more than 100.
- Layered stuffing defences: the OWASP Credential Stuffing Prevention Cheat Sheet lists MFA first, then breached password checks, device and connection fingerprinting, graduated IP responses, CAPTCHA, and user notification when a correct password is followed by a failed MFA check. ASVS V6.3.1 requires such controls to be implemented per the application's own security documentation.
- Recovery as strong as sign-in: ASVS V6.4.3 requires that password reset does not bypass enabled MFA. Recovery through a phone number alone is a common weak point.
- Consent that stands up: the ICO's guidance requires consent to be unbundled from terms and conditions, given by a clear affirmative act ("pre-ticked boxes or inactivity should not therefore constitute consent") and easy to withdraw. See the Consent Management Guide.
B2B CIAM: threat model and architecture
Threat model. Volume attacks still happen, but the costly failures come from trust relationships. A hostile or careless tenant can configure its own identity provider and assert any email address; if your application keys users by email, it can sign in as a user of another organisation. A trial tenant that claims a victim's email domain can capture its sign-ins. A compromised customer administrator can redirect the tenant's SSO to an attacker-controlled IdP (ATT&CK T1484.002 Trust Modification) or add extra admins for persistence (T1098 Account Manipulation). Your own support access to tenants is a T1199 Trusted Relationship path. And a single missing tenant filter in one API exposes every customer at once.
Architecture in words. An organisation object owns memberships, verified domains, federation connections, SCIM credentials and roles. Sign-in routes the user to their organisation's IdP after domain discovery; the platform validates the assertion and maps the user by issuer plus subject. Tokens carry an organisation identifier, which every API checks against the request context, and the data layer filters by it. Customer administrators manage their tenant through a delegated console; your staff reach tenants only through approved, logged support sessions. Customer staff are provisioned and deprovisioned through SCIM (RFC 7644, a Proposed Standard from September 2015) or just-in-time at first SSO.
Controls that carry the most weight.
- Federated identifiers, not emails: NIST SP 800-63C-4 says an RP must not process a subject identifier "without accounting for the IdP" that issued it, and that at FAL2 federated identifiers "SHALL NOT contain plaintext personal information, such as usernames, email addresses". ASVS V6.8.1 makes the same point for multi-IdP applications.
- Federation assurance: SP 800-63C-4 defines FAL1 to FAL3; FAL2 adds strong protection against assertion injection, a single-RP audience and a pre-established trust agreement, which matches per-tenant enterprise SSO. See the SAML Security Guide.
- Tenant isolation in code and data: organisation identifiers in tokens, validated against the request, enforced in a shared data access layer or row-level security, with automated cross-tenant tests. See the Multi-Tenant SaaS Authorisation and Tenant Isolation Guide.
- Guarded delegated admin: step-up for SSO, SCIM and admin role changes, notifications to all tenant admins, and audit logs the customer can see. ASVS V8.4.2 asks for multiple layers of security on administrative interfaces.
- Lifecycle that follows the customer: SCIM deactivation, short sessions for SSO users and revocation of personal API tokens when membership ends. See the SCIM Provisioning Guide.
Where each one breaks
| Failure mode | Model | What happens | Control |
|---|---|---|---|
| Optional MFA with password reuse | B2C | Stuffing campaigns succeed at a steady rate; shared features multiply exposure | Passkeys by default, breached password checks, step-up on risk, protect data-sharing features |
| Sign-up without abuse controls | B2C | Bot-created accounts drain promotions and seed spam and fraud | Bot management, verification proportionate to the incentive, velocity limits; see the Bot Management Guide |
| Recovery weaker than login | B2C | Attackers reset factors through phone number or support desk | Recovery tied to existing factors or re-proofing; support scripts that cannot bypass MFA |
| Email as the account key | B2B | One customer's IdP asserts another customer's user and signs in as them | Key on issuer plus subject; link accounts only through verified, deliberate flows |
| Unverified domain routing | B2B | A trial tenant claims a real company's domain and captures sign-ins | DNS-based domain verification before routing, auto-join or SSO enforcement |
| Missing tenant check in one endpoint | B2B | Cross-tenant data access across every customer | Central tenant enforcement and cross-tenant tests in CI |
| Customer admin takeover | B2B | Federation redirected or rogue admins added; whole tenant lost | Phishing-resistant MFA for tenant admins, step-up and alerts on federation changes |
| One pool for staff and consumers | B2B2C | Consumer self-registration lands in a business tenant, or business admin rights reach consumer data | Separate pools or strict organisation boundaries with distinct policies |
Fraud versus scale, and federation versus control
The two models trade different things. B2C trades security against conversion: every added step costs sign-ups, so controls are risk-based, invisible where possible and strongest on high-value actions such as payment changes, address changes and new device enrolment. Account takeover is the core loss, so investment goes into detection, recovery hardening and fraud operations. See the Account Takeover Prevention Guide.
B2B trades control against customer autonomy. Customers want to bring their own IdP and manage their own users, which moves authentication strength and leaver timing outside your control. You compensate by verifying what the IdP asserts (assurance claims, issuer, audience), by limiting what a tenant can change without step-up, and by making every tenant change visible to that tenant. Fraud in B2B is less about volume and more about a single high-impact event: a tenant takeover or a cross-tenant leak that becomes a contractual and regulatory incident for many customers at once.
Delegated administration compared
| Concern | B2C | B2B |
|---|---|---|
| Who administers users | Your support and trust and safety teams | Customer admins, with your support as fallback |
| Highest-risk admin action | Factor reset or email change on a consumer account | Changing the tenant's SSO connection or SCIM credential |
| Typical abuse | Social engineering of support to take over an account | Compromised or rogue customer admin; vendor support overreach |
| Control | Agent tooling with verification steps, dual approval for high-value accounts, full audit | Step-up, notification to all tenant admins, customer-visible audit, time-boxed support access with recorded consent |
| Delegation between people | Family, carer or proxy access; see Delegated and Proxy Access in CIAM | Partner and reseller administration across organisations, with explicit cross-organisation roles |
Worked scenario: a B2B2C insurance platform
A software company sells a claims platform to insurers. Insurer staff (claims handlers, managers) use it daily; each insurer's policyholders also log in to submit and track claims.
- Separate the populations: insurer staff live in organisations, one per insurer, with per-insurer SSO, SCIM and delegated admins. Policyholders live in a consumer pool, segmented by insurer through an attribute and a branded sign-in, never as members of the insurer's staff organisation.
- Different authentication policies: staff authenticate through the insurer's IdP; the platform requires an MFA assurance claim for claims approval actions (ASVS V6.8.4). Policyholders use passkeys or password plus one-time code, with step-up before changing bank details for payouts.
- Different abuse controls: the consumer sign-in runs bot defences and credential stuffing protection; the staff sign-in focuses on federation integrity and admin change alerts.
- Tenant isolation across both: a policyholder token carries the insurer identifier as data scope, and APIs check it the same way they check staff organisation identifiers. Cross-tenant tests cover both populations.
- Admin boundaries: insurer admins can manage their staff and view their own policyholders' claims, but cannot reset a policyholder's factors; that stays with a verified support process with audit.
- Leavers and closures: SCIM deactivation ends staff sessions within minutes; policyholder accounts follow a retention schedule set per insurer contract and data protection obligations.
The design point is that neither population inherits the other's policy by accident: consumer self-registration cannot create staff, and staff admin rights do not extend to consumer credentials.
Decision criteria
| Question | Points to B2C | Points to B2B |
|---|---|---|
| Who pays and signs the contract? | The individual user | An organisation on behalf of its users |
| Do customers ask for SSO and SCIM in security reviews? | No | Yes, often as a condition of purchase |
| Does a customer need to administer other users? | Rarely (family or proxy at most) | Yes, through delegated admin |
| What is the worst plausible incident? | Mass account takeover or fraud losses | Cross-tenant exposure or full tenant takeover |
| Scale profile | Large, spiky, public traffic | Moderate traffic, many configurations |
| Data protection role | Usually controller for profile data | Often processor for staff data |
Small versus large: an early-stage B2B product can start with shared sign-in plus organisation membership and passkeys, adding per-tenant SSO when the first enterprise asks. A large consumer service needs dedicated fraud operations and bot management from the outset. Platforms serving both should decide early whether to separate populations by pool or tenant, because merging later means a user migration; see the CIAM User Migration Guide.
How to implement
- Classify every user population: consumer, business staff, partner, and any machine clients, with owner and data protection role for each.
- Choose the identity key: issuer plus subject for federated users, an internal immutable ID for local accounts; never email alone.
- Set policies per population: authentication strength, session lifetime, recovery method, bot and fraud controls, consent capture.
- Build isolation once: organisation or segment identifier in every token, a single enforcement layer, cross-tenant tests in CI.
- Pilot: enable SSO enforcement for two or three friendly business tenants, and roll passkeys to a percentage of consumers, measuring sign-in success and support contacts.
- Roll back safely: keep a documented way to turn SSO enforcement off per tenant with recorded customer approval, and keep fallback factors for consumers while passkey adoption grows.
Detection and measurement
- B2C signals: failed sign-in ratios by source, breached password hits, sign-up velocity, recovery requests per day, correct password followed by failed MFA, new device enrolments before high-value actions.
- B2B signals: federation and SCIM configuration changes, new tenant admins, domain claims, organisation identifier mismatches between token and request, support access sessions.
| Metric | Model | Healthy signal |
|---|---|---|
| Share of active consumers with a passkey or MFA | B2C | Rising quarter on quarter |
| Account takeover rate per 10,000 active accounts | B2C | Falling; confirmed cases traced to a control gap |
| Bot share of sign-up attempts blocked before account creation | B2C | Stable or rising with low false positives |
| Cross-tenant test coverage of API endpoints | B2B | Every endpoint |
| Median time from customer IdP disable to session end | B2B | Minutes |
| Federation changes made without step-up or notification | B2B | Zero |
Framework mapping
| Framework | Reference | B2C relevance | B2B relevance |
|---|---|---|---|
| NIST SP 800-63B-4 | AAL1 to AAL3, rate limiting, syncable authenticators | Factor choice and password rules | Local accounts and admin authentication |
| NIST SP 800-63C-4 | FAL1 to FAL3, federated identifiers | Social login as federation | Per-tenant SSO assurance and identifier rules |
| OWASP ASVS 5.0 | V6.3.1, V6.4.3, V6.8.1, V6.8.4, V8.4.1, V8.4.2 | Stuffing controls, safe recovery | IdP spoofing, assurance claims, cross-tenant controls, admin interfaces |
| OWASP Automated Threats | OAT-008, OAT-019 | Credential stuffing, account creation abuse | Lower volume but still present at shared sign-in |
| NIST SP 800-53 Rev. 5 | IA-8, AC-6, SI-4 | Identification of non-organisational users, monitoring | Least privilege for delegated admins, monitoring |
| MITRE ATT&CK | T1110.004, T1484.002, T1098, T1199 | Credential stuffing | Trust modification, account manipulation, trusted relationship |
Common failure patterns
- Reusing a consumer pool for business customers. Self-registration and email-keyed accounts meet enterprise SSO, and a customer IdP can assert identities it does not own.
- Treating B2B as low fraud risk. Shared sign-in pages for small business customers attract the same stuffing traffic as consumer sites.
- Applying B2B friction to consumers. Mandatory hardware tokens or long forms drive users to support channels, which become the weaker path.
- Delegated admin without guard rails. Customer admins change SSO with no step-up, notification or audit, so a single admin compromise loses the tenant.
- Ignoring sharing features in B2C. As the 23andMe case shows, features that expose one user's data to others multiply the impact of each compromised account.
- No owner for B2B2C boundaries. Nobody decides which population an account belongs to, and edge cases accumulate rights across both.
Practitioner checklist
- Document each user population, its owner, its data protection role and its identity key.
- Never key accounts on email alone; use issuer plus subject for federated users.
- For consumers, default to passkeys, check passwords against breach corpora and harden recovery to the level of sign-in.
- Put bot management and rate limits in front of consumer sign-up and sign-in.
- For business tenants, verify domains before routing or auto-join, and enforce tenant checks centrally with cross-tenant tests.
- Require phishing-resistant MFA and step-up for tenant administrators and for federation changes.
- Wire SCIM deactivation to session and token revocation.
- Keep consumer and business populations separate in B2B2C products, with distinct policies.
- Review consent capture against regulator guidance for every consumer journey.
Standards and references
- NIST: SP 800-63B-4 Authentication and Authenticator Management
- NIST: SP 800-63C-4 Federation and Assertions
- OWASP: Application Security Verification Standard 5.0
- OWASP: Automated Threats to Web Applications
- OWASP: Credential Stuffing Prevention Cheat Sheet
- IETF: RFC 7644 System for Cross-domain Identity Management: Protocol
- ICO: What is valid consent?
Related NHI Mgmt Group resources: B2B CIAM and Organisation Management Guide, CIAM Buyer's Guide, CIAM RFP Template, Top 10 CIAM Security Risks.