Customer identity (B2C) with Zitadel: when a consumer product needs its own login
If your product has many end users who sign up themselves, Zitadel can hold those consumer accounts in one customer organization, kept separate from your staff. That separation is the core of the B2C scenario: customers register, log in and manage their own profile in a single organization, while your team works from a different organization with its own administrators and role assignments. The B2C pattern fits when the people signing in are individuals rather than employees of business customers, when you do not need each customer to bring its own identity provider, and when the main requirements are self-service sign-up, social logins, passkeys and account self-service. Zitadel's B2C solution scenario documents this layout and is the right starting read before you map your own user populations.
The decision that matters most is the tenant boundary. A B2B product puts each business customer in its own organization, so that customer's admins can manage users, SSO and MFA. A B2C product usually has one large customer organization instead, because individual consumers do not need administrators of their own. Before you commit, confirm how many end users you expect, whether any of them will ever need a per-customer login experience, and whether your team's accounts will be kept apart from consumer accounts in a separate organization with external role assignments. Mixing staff and customers in one population makes later role design and access reviews harder to defend.
Plan for the operating burden now. Consumer identity brings volume, abuse and support load that business identity does not, so confirm the Zitadel edition, hosting capacity and rate limits you need with your team and with the vendor's pricing page before you size the platform. Also decide how users delete their own accounts, since the self-service deletion path revokes all tokens and cannot be undone, and confirm the permission model behind it before launch.
Login options for consumer accounts and when each fits
This table compares the sign-in options you can offer consumer accounts on Zitadel and what each adds to support and recovery work. Read each row against your customer base, your fraud exposure and how much account recovery your support team can absorb. The main takeaway is that offering passkeys and social logins alongside passwords shifts recovery work rather than removing it.
| Login option | When it fits | What it adds to support and recovery |
|---|---|---|
| Password login | Broad reach across devices and browsers, and a baseline for customers who will not register a passkey | Highest volume of reset requests; plan reset email delivery and confirm how your team verifies identity before support changes a credential |
| Passkey with password fallback | Customers on modern devices where phishing resistance matters, with passwords kept for everyone else | Support must handle lost-device cases; confirm that a user with a passkey can still recover through the fallback path |
| Google or Apple social login | Consumer audiences who already live in those ecosystems and want the shortest sign-up path | Account recovery depends on the provider; confirm how linked accounts behave when a customer changes their provider email |
| GitHub or GitLab login | Developer-focused products where users already hold accounts on those platforms | Expect fewer resets but more questions about which identity an account is linked to; confirm the linking behavior before launch |
| Any OIDC provider | Consumer segments that use a specific national or industry identity provider, if you have a verified integration | Ask the provider owner who handles outages and claim changes; your team cannot reset credentials held upstream |
| Self-service account deletion | Products where users have a legal or policy right to erase their accounts, or need a quick exit path | Deletion revokes all tokens and cannot be undone, so the support flow should confirm intent and explain the outcome before the user proceeds |
Setting up the customer and team organizations step by step
This sequence takes a self-hosted Zitadel instance from a reachable installation to a tested B2C model, with one organization for customers, one for your team, and a self-service deletion path that has been verified end to end.
Prepare the self-hosted Zitadel instance
Confirm the Zitadel deployment is reachable over TLS on the public domain your customers will use, that the PostgreSQL database is on a supported version, and that administrator access is limited to your platform team. Create the first administrator account and record where the masterkey and database credentials are stored. The step is done when the Console loads over the public domain, you can sign in as the administrator, and the backup of the database has been taken once. Confirm the Zitadel and PostgreSQL versions against the self-hosting documentation before you start, because the supported database range is part of that check.
Create the customer organization
In the Console, create a dedicated organization for end customers, separate from the organization that holds your staff. Keep its settings close to the consumer use case, including whether self-registration is allowed and which login policies apply. Your product will send customers to this organization on sign-up and login. The step is done when a test user can be registered inside this organization and appears in its user list, and when the organization ID is recorded in your application configuration.
Create the team organization and project
Create a second organization for your staff, then create the project that holds your customer-facing application and its roles. Keep the team organization's users, administrators and login policies independent from the customer organization so that staff settings never change customer sign-in. The step is done when staff accounts exist only in the team organization, the project and its roles are visible there, and an administrator account can open the project without seeing customer accounts.
Configure login methods and social providers
Enable password login with passkeys as the preferred option in the customer organization, and add social identity providers such as Google or Apple where your product needs them. Register each provider's redirect URL with the provider and enter its client credentials in Zitadel. Verify that the provider's callback and the Zitadel domain match exactly. The step is done when a test account can sign in with each enabled method, passkey registration works on a supported browser, and a failed provider sign-in returns the user to a clear error rather than a blank page.
Assign external roles to staff
Grant your staff in the team organization access to the customer organization's data through external user role assignments on the project. Assign only the roles each support or operations role needs, and document which role gives access to which customer-facing tooling. Remove any role the staff member does not need for the current task. The step is done when a staff test account can open the support tooling against a test customer, and an account without the role is refused by the same tooling.
Enable self-service deletion with user.self.delete
Grant the user.self.delete permission to the customer role or group that should be allowed to remove its own account, and confirm that no broader permission has been given to customers. Surface deletion in your product through the User v2 API or the Console, and make the confirmation step clear that deletion revokes all tokens and cannot be undone. Decide in advance how your application handles the data tied to that user. The step is done when a test customer can delete a test account, the account's existing sessions and tokens stop working immediately, and a second test account without the permission cannot delete itself.
Test each path before opening sign-up
Run a scripted test pass covering new sign-up, password and passkey login, each social provider, a staff login with an external role, a role-refused attempt from a staff account without that role, and self-service deletion. Repeat the pass after every configuration change and keep the results with the change record. Confirm that the team and customer organizations stay separate in each test. The step is done when every path passes on the production configuration, and the test results are stored where your security and compliance reviewers can find them.
How a consumer login and a staff login travel through Zitadel
The consumer path starts in the customer's browser at the application, which redirects through OIDC to Zitadel's hosted login, where a social provider or passkey authenticates the user inside the customer organization. The staff path starts in the team organization, where the same OIDC flow runs against the team's own users. The boundary between the two organizations is the point to check: staff tokens should only carry roles granted to the team organization, and customer tokens should never reach team-only roles.
Consumer and staff logins pass through Zitadel but resolve in separate organizations.
Security controls to decide before consumer launch
Consumer identity puts sign-in, recovery and account removal in front of the public, and each of those paths creates a security decision. The cards below cover the controls to settle before launch, so passkeys, deletion and administrator access behave the way your team expects from day one.
Passkey enrollment and recovery paths
Zitadel supports passwordless login with passkeys based on FIDO2 and WebAuthn, with fallback to password login. Decide when customers are prompted to enroll a passkey, whether enrollment is optional or required for certain actions, and which fallback remains available if a device is lost. Test the full recovery path, including what happens when a customer has no remaining registered method. A fallback that is weaker than the passkey can undo the security gain, so review it as carefully as the primary flow.
Passkey docsAccount deletion revokes all tokens
Users with the user.self.delete permission can delete their own accounts through the User v2 API or the Console. Deletion revokes all tokens for that account and cannot be undone. Before launch, decide whether deletion is immediate or preceded by a confirmation step, whether your application keeps any data tied to the user, and how a customer who deletes by mistake is handled. Confirm with your own tests that deleting an account signs the user out of every connected application.
Separating staff and consumer accounts
Keep your team's accounts in a separate organization from the consumer customer organization, and assign staff roles through external role assignments rather than by adding staff to the customer population. This keeps administrative roles out of the set of accounts that anyone can create through sign-up. Review which roles can be granted to which users, and confirm that a consumer account cannot reach staff-only applications or the Console by changing a URL or token audience.
Protecting the Console and admin access
The Console and the administrator accounts that manage your instance control every customer account, so treat them as the most sensitive surface in the deployment. Restrict who holds instance-level administrator roles, require strong authentication for those accounts, and keep them out of the consumer login flow. Confirm which network paths reach the Console and whether it is exposed on the same domain as the customer login. Record the review in your access process so that role changes are traceable.
What account deletion and data retention mean for consumers
How does a customer delete their own account in Zitadel?
A user can delete their own account through the User v2 API or the Console, provided they hold the user.self.delete permission. The permission is what gates the action, so confirm it is granted to the consumer role in your design before you expose a delete button. Deletion is the first step in a larger process: your application still has to decide what happens to the records it holds about that person. Read the Zitadel self-deletion guide before you build the flow, and test it end to end in a non-production instance.
Can a deleted Zitadel account be restored?
No. Account deletion in Zitadel cannot be undone, so the user cannot recover the same identity afterward. Treat it as irreversible in your product copy, your confirmation screens and your support scripts. If you want a grace period or a soft delete, you have to build it in your application layer and decide who can trigger a restore. Ask your legal and product owners whether a cooling-off period is required or expected for your consumer base.
What happens to active sessions and tokens when a user deletes their account?
Deletion revokes all tokens for the user, so access tokens and refresh tokens stop working for that identity. Any application that depends on those tokens will see the user as no longer authenticated. Confirm how your front ends and APIs handle a sudden session loss, including mobile apps that cache refresh tokens offline. Test that revocation takes effect on every client type you run, because each one may cache state differently.
Does deleting the identity also delete the customer's data in our applications?
Not automatically. Zitadel removes the identity and revokes its tokens, but it does not know what your application stores about the user, such as orders, content, messages or support tickets. Each application that holds personal data needs its own deletion or anonymization routine, triggered by the identity event or by your own deletion workflow. Map every system that keeps user-linked records, decide which must be erased and which must be retained for legal reasons, and document the answer before launch.
How should backups be handled after an account is deleted?
Deletion in the live system does not reach into existing backups, so personal data can persist in them until those backups expire or are rotated. Confirm your backup retention period for the Zitadel database and for every application database, and decide how restores interact with deleted users. A restored backup can bring a deleted identity back into the live system, so your restore runbook needs a step that reapplies deletions. Ask your counsel whether this retention window is acceptable under the privacy rules that apply to you.
How do we handle privacy requests for access or erasure in Zitadel?
Privacy requests such as access or erasure requests are a process your organization owns, and Zitadel provides the tools to carry parts of it out. Identify which requests you must answer, the deadlines your jurisdictions set, and who verifies the requester. Build a documented workflow that covers the identity record, the application data and backups, and keep a log of each request and its outcome. Confirm the exact obligations and response windows with counsel, because they depend on where your customers live.
Who should own the decisions about consumer data retention?
Your organization should own them, with legal and privacy input, while engineering implements the answers. Product decides what the user experiences, legal sets the retention and erasure rules, and the platform team builds the deletion path and the backup procedures. DeployOpen can plan, implement and document these flows in your infrastructure, but the retention periods and legal interpretation remain yours to confirm with counsel. Settle the ownership before the build, because the answers change the data model.
Limits to confirm before you commit to consumer identity
Consumer identity on Zitadel depends on a few limits that differ between self-hosting and Cloud, and on how each social provider behaves in your flows. The cards below list what to confirm with Zitadel, your provider and your own forecast before you commit to a design.
PostgreSQL version support
Self-hosted Zitadel stores its data in PostgreSQL, and the supported major versions are the ones Zitadel documents for its database. Confirm that your chosen PostgreSQL version is on that list for the Zitadel release you plan to run, and check how your managed or self-run database handles upgrades. Ask your database team how backups and point-in-time recovery are tested, because consumer account data lives in this database.
- Supported PostgreSQL versions
- 14 to 18
Self-hosting options
Zitadel documents installation on Linux and macOS binaries, Docker Compose and Kubernetes. Confirm which option your operations team will support for production, and whether the high availability design you need for customer logins fits that option. Ask whether the official Helm chart covers the topology you plan, including TLS termination and domain setup for your consumer login domain.
Self-hosting overviewCloud plan user limits
The Zitadel pricing page lists plan limits measured in daily active users. Confirm the current limits for the Free and Pro plans and what happens when your daily active users exceed them, including whether overage is billed or access is restricted. Also confirm which features, such as custom support or technical account management, are included only in the Enterprise plan.
Zitadel pricingDaily active user forecast
Plan limits and infrastructure sizing both depend on how many users sign in each day, not on total registered accounts. Build a forecast for daily active users at launch and at peak, including returning users who sign in through social providers. Share the figure with Zitadel and your DeployOpen scope so the Cloud plan choice and the self-hosted capacity plan are based on the same number.
Social provider behavior
Each social provider returns different profile fields, email verification signals and token lifetimes, and their policies change over time. Confirm for Google, GitHub, GitLab and Apple which attributes Zitadel receives, whether the provider verifies email addresses, and how a user who signs in with the same email through two providers is linked. Test sign-in and account linking with real provider accounts in a staging instance before launch.
Identity provider docsFeature gaps for your flows
Passkeys are documented with fallback to password login, but the exact behavior for your sign-up, recovery and step-up flows needs checking against your requirements. Confirm how account recovery works when a user loses a passkey, whether your consent and marketing preference flows need custom work, and how self-service account deletion meets your retention obligations. Write each flow down and check it against the documented features before you commit.
Passkey docsQuestions buyers ask before hiring help with consumer identity
How much does it cost to set up Zitadel for customer sign-up and login?
No single price applies, because the cost follows the written scope. Self-hosted Zitadel has no license fee under the AGPL 3.0 terms for the core, Console and hosted login, so the spend is mostly infrastructure, PostgreSQL, implementation effort and ongoing operations. The main cost drivers are the number of social and enterprise providers, whether you migrate users from an existing identity system, how much passkey rollout and testing is included, and who runs the system afterward. If you want a hosted option, the Zitadel pricing page lists a Free plan at US$0 per month with 100 daily active users, a Pro plan at US$100 per month including 25,000 daily active users, and a custom Enterprise plan. Ask any partner for a quote that separates one-time build work from recurring support.
How long does a consumer identity implementation on Zitadel take?
Duration depends on scope, not on a fixed template. A basic sign-up and login flow with one provider moves faster than a build that includes several social logins, passkeys, a migration of existing accounts and self-service account deletion. Timing also depends on how quickly your team confirms the login experience, email templates and data retention rules, and on the readiness of the infrastructure that will host Zitadel. Ask for a timeline that lists each phase, the client decisions each phase needs, and the test and cutover steps. DeployOpen agrees timelines in writing as part of a fixed-scope engagement.
What does our team need to provide for a Zitadel customer identity project?
Your team needs to make product decisions and provide access to the systems involved. Typical inputs include the list of applications that will use sign-in, the social and enterprise providers you will accept, the user attributes you need, your data retention and deletion policy, and the brand assets and email wording for the login. You also need a named owner for the identity domain, DNS and TLS certificates, and the cloud or data center accounts where Zitadel and PostgreSQL will run. If you plan to migrate users, your team must export and verify user data and agree how passwords and multi-factor settings will move. Missing decisions in these areas are the most common reason for schedule slips.
Can our in-house team build consumer identity on Zitadel without a partner?
Yes, an experienced team can build it alone if it has engineers who know OpenID Connect, OAuth 2.0 and PostgreSQL operations, and if it can staff the work long enough to test and operate the system. Zitadel documents self-hosting on Linux and macOS binaries, Docker Compose and Kubernetes, and recommends Kubernetes with the official Helm chart for high availability. The questions to answer honestly are whether you have capacity for security testing, incident response, upgrades and provider changes after launch. A partner is most useful when the scope is fixed, the timeline is short, or the team needs an independent review of the design before go-live.
Does migrating existing customers to Zitadel add significant effort?
Yes, migration is usually the largest variable in a consumer identity project. Zitadel publishes migration guides for Auth0, Keycloak, Firebase and another Zitadel instance, and describes approaches such as just-in-time migration, where a user's account moves when they next sign in. Effort rises with the number of user records, the password hashing formats in the source system, the number of applications that must switch over, and how much user data must be verified. Ask for a migration plan that covers a dry run, a rollback path and a communication plan for customers. Confirm the exact steps against the migration guide for your source system before you commit to a scope.
What adds effort when we roll out passkeys and social logins?
Passkeys and social logins each add configuration, testing and support work. Zitadel supports passwordless login with passkeys based on FIDO2 and WebAuthn, with fallback to password login, and it can federate with Google, GitHub, GitLab, Apple and other providers over OIDC or SAML. Each provider needs its own redirect settings, client credentials, account linking rules and test accounts. Passkeys need device testing across browsers and operating systems, plus a recovery path for users who lose their device. Ask for a test matrix that lists each provider, device and browser combination you must support before launch.
What costs continue after launch for Zitadel consumer identity?
After launch, recurring costs include infrastructure for Zitadel and PostgreSQL, backups, monitoring, certificate renewal, upgrades, provider credential rotation and security testing. Zitadel publishes new releases, and the latest release noted in the researched facts is v4.19.5, released on 15 October 2026, so upgrades are a planned task rather than a one-off. If you use Zitadel Cloud, the Pro plan's US$100 per month price and the Enterprise plan's custom support terms are the figures to compare. Ask any provider to state which of these items are included in a retainer and which are billed as separate work.
What should we check for account deletion and privacy requirements?
Confirm that your privacy policy, data retention rules and deletion requests match what the identity system actually does. In Zitadel, users with the user.self.delete permission can delete their own accounts through the User v2 API or the Console, and deletion revokes all tokens and cannot be undone. Your team should decide whether downstream applications also need to delete or anonymize records, how backups are handled, and how deletion is logged. Ask counsel or your privacy team to review these steps before the feature is released, and ask the implementation partner to test that tokens are revoked for every application.
How DeployOpen scopes and delivers consumer identity on Zitadel
Most consumer identity engagements start with a written scope that fixes the deliverables before any configuration begins. For a B2C Zitadel build, that scope should name the instance and the customer organization, the team organization with its external role assignments, the social and passkey login methods, the self-service deletion flow, and the environments where each piece runs. DeployOpen plans and delivers these as fixed-scope work, so the deliverables, acceptance tests and timeline are agreed in writing with your team. Ask for the scope to list which identity providers and login methods are in and out, since each one adds configuration and testing effort. The quote follows from that document, not the other way around.
Deployment happens in your infrastructure, whether that is your cloud accounts, data centers or an air-gapped network. Zitadel documents self-hosting on Linux and macOS binaries, Docker Compose and Kubernetes, and recommends the official Helm chart on Kubernetes for high availability, with PostgreSQL 14 through 18 as the supported database. Confirm with your platform team which deployment model and PostgreSQL version your standards allow before the scope is signed. DeployOpen configures the customer and team organizations, social logins, passkey fallback to password login and the user.self.delete permission, then tests sign-up, login, account deletion and token revocation end to end. Each test result, configuration export and runbook is handed over as documentation your engineers keep.
Retainers cover what happens after go-live: upgrades to new Zitadel releases, patch handling, monitoring checks and support for changes to providers or login flows. Ask for the retainer terms in writing, including response expectations, which are not published on this page. DeployOpen does not issue audit reports, attestations or certifications. If your consumer identity platform sits inside an audit or compliance assessment, DeployOpen prepares the configuration, evidence and records that an independent auditor or certification body will review, and that reviewer decides the outcome.

