Moving Zitadel from Login V1 to Login V2

Login V1 stays supported for normal v4 operation, so the move to Login V2 is a timing decision. This page covers when to make it, how to prepare a break-glass path, and how to enable it instance-wide without locking out administrators.

On this page

Zitadel Login V2 migration: should you move now?

Staying on Login V1 is supported for normal v4 operation, so moving to Login V2 is a planned choice for your team, not a forced upgrade. If your self-hosted v4 instance works as it should today, the question is whether the benefits of the newer login experience justify the change window, the testing and the new components it brings. Teams usually move for three reasons: Zitadel's current login UI direction, branding and passkey flows that the newer login is built around, and the zitadel-login deployment that serves the UI as a separate workload. Before you decide, check your patch level against the v4.19.5 release on the Zitadel releases page, which is the line to compare your running version against.

The supported path has three steps. First, test Login V2 on a non-production instance that mirrors your branding, custom Actions and application set, and confirm that each login flow your customers and workforce use still completes. Second, prepare a break-glass account: a machine user with IAM_OWNER and a personal access token, stored outside the normal login path, so administrators can still reach the console if the new login misbehaves. Third, enable Login V2 at instance level. That setting moves every application, including the management console, to Login V2 at once, so there is no per-application fallback. Confirm with your own team who owns each step, and whether your change process requires a rollback plan written before the switch.

Plan the cutover around the break-glass account, not around the login pages themselves. Verify that the break-glass credentials work from the networks your administrators actually use, record where the token is held and who can retrieve it, and rehearse signing in with it before you enable the feature. Also confirm with your Zitadel vendor or the upgrade documentation how the instance-level setting is reverted if testing fails, since the reversal path determines how much risk the switch carries. If you cannot answer those questions with evidence from your own environment, the decision to move now is premature.

What Login V2 changes for applications and the console

This table compares what stays the same on Login V1, what changes when the instance-level Login V2 feature is enabled, and what to prepare first. Read each row as a condition to confirm before the switch, not as a schedule. The main takeaway is that enabling Login V2 instance-wide reaches the management console too, so access recovery must be settled before the change.

ChangeImpactAction needed
Staying on Login V1Supported for normal v4 operation, so the instance keeps working without adopting Login V2.Confirm in the Zitadel adopt Login V2 documentation that your version and deployment match the supported Login V1 path.
Instance-level Login V2 switchSends every application, including the management console, to Login V2 at once.Decide whether the whole instance moves together and list every client that depends on the login pages.
Break-glass machine userZitadel advises a machine user with IAM_OWNER and a personal access token before enabling the feature, so administrators keep a way in if login fails.Create and store the break-glass credentials outside the normal login path, then test that they authenticate before the switch.
zitadel-login UI deploymentThe Login V2 UI must be deployed and reachable before the instance switch takes effect.Confirm the deployment, routing and health of the zitadel-login service in your own environment, and check the vendor docs for required settings.
Console and management accessThe management console follows the instance-wide change, so administrators sign in through Login V2 after the switch.Test console sign-in with a non-admin and an admin account in a staging instance before changing production.
Application login behaviorApplications using the hosted login pages receive the new login experience after the switch.Inventory each relying party, test its sign-in and logout flows, and record any custom branding that needs review.

Stay on Login V1 or adopt Login V2 now

If your login pages already look right, your applications sign in without trouble, and nobody has asked for new login flows, staying on Login V1 is a supported position for normal v4 operation. You take on no migration work now, and the main cost is that future login work will be planned against Login V2, so the gap grows over time.

  • Cost of staying: Your team keeps Login V1 running and watches for any change that touches the hosted login. Anything you build later, such as new branding or flow logic, may need to be redone when you do move.
  • Cost of moving later: You will still need the same break-glass account, login client credentials and a coordinated cutover, but you will do them under time pressure if a new requirement forces the move.
  • What to decide: Whether the current login experience will still meet your needs for the next planning cycle.
  • Trigger to review: A new customer request for branding, a new authentication method, or a change in your security review.
  • Documentation: Record that Login V1 is a deliberate choice so auditors and new administrators do not read it as an oversight.

Before you decide to stay, confirm with your Zitadel contact or the adoption guide what Login V1 receives in future releases, since the supported position is for normal operation.

Login V2 cutover is gated by a break-glass account and a non-production test

The flow starts with the decision to adopt Login V2 and moves through deploying the zitadel-login UI, its login client credentials and path routing, then a test on a non-production instance. The break-glass machine user with IAM_OWNER and a PAT is the gate before the instance-level feature is enabled. If testing fails, the instance stays on Login V1, which Zitadel supports for normal v4 operation. Check the console and each application after enabling.

Phases for moving an existing v4 instance to Login V2, with the break-glass gate before enabling.

What to prepare before enabling Login V2

Enabling Login V2 changes the sign-in path for every application, including the management console, so the preparation work matters as much as the switch itself. The six items below cover access you must keep, a UI you have tested, routing and credentials, and a dependency inventory, all checked against a test instance before production changes.

Break-glass machine user

Create a machine user with the IAM_OWNER role and generate a personal access token (PAT) for it before you enable the instance-level feature. Zitadel advises this because enabling Login V2 sends the management console to Login V2 too, so an administrator without a working path in could be locked out. Store the token outside the instance, such as in your organization's secrets manager, and confirm it authenticates before the change. Owner: the platform or identity team lead.

Adopt Login V2 docs

Zitadel login UI in non-production

Deploy the zitadel-login UI into a non-production environment first, pointed at the same Zitadel version your production instance runs. Confirm that the login pages load, that password, passkey and external identity provider flows complete, and that the console and your applications redirect correctly. Record the image or chart version you tested so production uses the same artifact. Owner: the platform engineer who runs the Zitadel deployment.

Login client credentials

Create the login client that the zitadel-login UI uses to talk to the Zitadel APIs, and store its credentials in the deployment's secret store rather than in plain configuration files. Check which permissions the client holds and keep them to what the login flows need. Rotation should be planned, because a leaked or expired credential will break sign-in for every application at once. Owner: the identity administrator, with the platform engineer handling the secret injection.

Path routing at the proxy

Decide how requests for the login UI reach the zitadel-login service and how they are separated from the API and console paths, at your reverse proxy or Kubernetes ingress. Write the routing rules as code, test each path with a request from outside the cluster, and confirm that TLS termination, host headers and HTTP/2 settings match the rest of the Zitadel deployment. Owner: the infrastructure or network engineer who manages ingress.

Inventory of login dependencies

List every application, custom branding setting and Action that depends on the current login UI. Include redirect URIs, custom login texts, themes and any Actions that run during login, since each one may behave differently or need changes on Login V2. Mark each item as tested, changed or unaffected, and name a contact for each application owner. Owner: the identity administrator, with input from application teams.

Test instance that mirrors production

Build a test instance with the same Zitadel version, instance settings, organizations, identity providers and applications as production, using a restored copy of configuration where possible. Run the full sign-in matrix on it, including the break-glass path, before you schedule the production change. Confirm which data is excluded from the copy, such as real user accounts, and document that gap. Owner: the platform team, with sign-off from the identity owner.

How path routing and login client credentials fit the deployment

Path routing decides whether a browser login request reaches the zitadel-login UI or the Zitadel API, so the proxy configuration is the first thing to verify once the login UI is deployed beside the existing v4 instance. The login UI is a separate workload that serves the sign-in pages, while the API keeps serving the token, management and resource endpoints it already handles under Login V1. Your reverse proxy or ingress must send the login pages to the new service and everything else to the API, without changing how either one is reached by existing applications. Before enabling anything instance-wide, confirm in the adopt Login V2 documentation which path prefixes Zitadel expects to be routed to the login service.

Because the login UI is a separate client of the API, it needs its own login client credentials rather than reusing an application's credentials. The login client is the identity the login UI uses when it calls Zitadel to read and act on authentication flows for users, so it must be created with the permissions the documentation describes and stored as a secret your deployment tooling manages. Treat this credential as part of the security boundary: scope it to what login requires, rotate it through the same process you use for other service secrets, and record where it lives. Confirm the exact configuration keys, the required roles and the credential format in the vendor documentation, because those details are not part of the researched facts for this topic.

At the proxy, verify that routes reach the right service and that the login UI sees the same request context the API path does. Check that TLS terminates at the same point for both routes, that the forwarded host and protocol headers arrive intact, and that cookies set during login are issued for the domain users actually visit. Mismatches here usually show up as redirect loops, mixed-content errors or sessions that do not persist, so test a full sign-in and sign-out through each route in a non-production instance first. Record the routing rules and header behavior as part of your change record, since they become part of the operational baseline for upgrades.

Enabling Login V2 instance-wide, step by step

This sequence moves an existing v4 instance from Login V1 to Login V2 in controlled stages, so the console and every application can be verified on staging and reverted through a break-glass account if sign-in fails in production.

  1. Confirm the v4 patch level and current login setup

    The platform team records the exact Zitadel v4 patch version running in production and compares it with the latest v4 release notes before anything changes. They also inventory every application, the console and any custom login branding that depends on Login V1. The step is done when the team has a written baseline: version, applications, and the owner of each. Staying on Login V1 remains a supported option, so this step can end with a documented decision to wait.

  2. Deploy and test the zitadel-login UI in staging

    The platform team deploys the zitadel-login UI as a separate workload next to a staging copy of the instance, using the same container image version and configuration structure planned for production. They confirm the login pages load, the UI can reach the Zitadel API, and branding renders as expected. Done means a successful sign-in on staging through the new UI. If the UI cannot reach the API, production stays untouched and the team fixes the connection before going further.

  3. Verify path routing and login client credentials

    Operators check that the reverse proxy or ingress sends the login paths to the zitadel-login UI and all other paths to the Zitadel API, and that the login client credentials exist, are scoped correctly, and are stored in the team's secrets manager. They test each route directly and confirm that no login path returns an error or a redirect loop. The step closes when routing tests pass on staging. Rollback at this point is simply removing the new routes, since Login V1 is still active.

  4. Create and test the break-glass machine user

    An administrator creates a dedicated machine user with the IAM_OWNER role and a personal access token, stored offline in a sealed location with a named custodian. The team then authenticates with that token against the management API on staging and confirms it can read and change instance settings. This account is the recovery path if the console or applications fail after the switch. The step is done only when a test API call succeeds with the token and the storage location is recorded.

  5. Run login flows for each application and the console on staging

    Testers sign in to the console and to every application on the staging instance, covering the flows each application uses, such as authorization code, refresh and logout. They also confirm that tokens are issued, roles and grants appear as expected, and the sign-out returns users correctly. Every failure is logged against the application owner. The step is complete when each application and the console pass the full test list with no open blocking defects.

  6. Enable the instance-level Login V2 feature in a maintenance window

    During an agreed maintenance window, an administrator uses the break-glass token to enable the instance-level Login V2 feature, since this change sends every application, including the management console, to Login V2. Operators keep the window open, watch error logs, and keep the break-glass token ready. The step closes when the setting reads as enabled through the API. Rollback point: if the console or any application fails, the same break-glass account reverts the instance feature to Login V1 before the team investigates.

  7. Verify console access and each application sign-in

    After the switch, an administrator signs in to the console, then testers sign in to each application as they did on staging, comparing results with the staging test record. They also confirm that logout, token refresh and admin actions work. The sequence is finished when every test passes in production and the results are archived with the change record. If any check fails and cannot be fixed within the window, the team reverts the instance feature using the break-glass account and reruns the failed checks on staging.

What makes a Login V2 move take longer

This table lists the factors that stretch a Login V1 to Login V2 move and explains why each one adds work. Read each row as a question to answer about your own instance before estimating the effort. The main takeaway is that the number of applications, custom login text, and the number of sign-off groups usually matter more than the Login V2 deployment itself.

DriverWhy it adds effortHow to reduce it
Applications that sign in through ZitadelEnabling the instance-level feature sends every application to Login V2, so each one needs a login test before the switch.Inventory every client and redirect URI, group them by owner, and test the highest-risk applications first.
Custom branding or login textLogin V2 has its own UI, so branding, translated messages and custom text must be checked and reproduced on the new screens.Limit custom changes to what the business needs and keep branding settings documented and version controlled.
Actions or hooks touching the login flowLogin-related Actions may depend on the login behavior or endpoints that change in the move, which requires reviewing and retesting each one.List every Action that runs during login, confirm its trigger, and retest it in a staging instance before cutover.
Reverse proxy and ingress complexityThe zitadel-login UI needs its own routing alongside the API, and path rules at the proxy or ingress must send each request to the right service.Document current routes, write the new path rules in one change, and test each route with a simple request before going live.
Customer organizations in a multi-tenant instanceEach organization may have its own login experience, branding or identity provider, so the number of checks grows with the number of tenants.Sample representative organizations, group tenants with similar settings, and agree which ones are tested in full.
Non-production instance availabilityWithout a staging instance that mirrors production settings, testing happens on live users or is skipped, which raises risk and delays the switch.Confirm early whether a staging instance with comparable configuration exists or can be built before the move starts.
Number of people who must sign offApplication owners, security, compliance and operations may each need to approve the switch, and each approval adds a review cycle.Name the approvers and their criteria at the start, and agree a rollback plan they accept before testing begins.

Questions buyers ask before moving to Login V2

Do we have to move from Login V1 to Login V2?

No. Remaining on Login V1 is supported for normal Zitadel v4 operation, so the move is a decision about what your organization gains, not a deadline you must meet. The main reasons teams move are to run the hosted login UI on their own deployment, to customize the login experience with the newer UI, and to keep their login path on the version they plan to support. If none of those apply yet, staying on Login V1 is a valid choice. Before deciding, confirm with your own environment which login features your applications and branding depend on, because that list drives whether the move adds value now.

How much effort does moving to Login V2 take, and what drives it?

Effort depends mainly on how many applications, custom branding and network paths your instance has. The core work is deploying the zitadel-login UI, creating login client credentials, routing login paths through your reverse proxy, preparing a break-glass machine user, and testing each application before enabling the feature instance-wide. Drivers that raise effort include:

  • Custom branding or themes that must be rebuilt for the new UI
  • Many relying parties that need testing, especially those with custom login handling
  • Proxy, DNS and TLS setup that differs between environments
  • Any integrations that depend on the login flow, such as custom Actions

Ask any partner to break the effort into these components in a written scope.

How long does the move take?

Duration depends on scope, so no fixed timeline applies to every instance. The time is driven by the number of applications to test, the state of your staging environment, how much branding work is involved, and how quickly your network and proxy changes can be approved. Your own team or a partner should confirm a plan against your environment, including a staging run that mirrors production routing. Treat the enabling step as the final change, scheduled only after testing passes and the break-glass access has been verified.

Can our own team do this using the Zitadel documentation?

Yes, a team with Kubernetes or container operations experience and access to the Zitadel documentation on adopting Login V2 can plan and perform the move. The documentation covers the sequence, from adopting Login V2 through the instance-level switch. The questions to answer honestly are whether someone has time to test every application, whether the team can build a staging instance that matches production, and who will own the break-glass credential over time. Teams that lack capacity for those tasks often choose a fixed-scope engagement instead.

What do we need to provide for the move?

The work needs access and people more than new software. Plan for:

  • DNS and reverse proxy access to add the login routes and confirm path routing
  • A staging instance that matches production closely enough to test login
  • An owner for the break-glass machine user with IAM_OWNER and a personal access token, stored securely
  • Application owners who can test sign-in, logout and token behavior for their apps

Confirm these owners and change windows before work starts, because delays in any one of them extend the schedule.

What does a fixed-scope Login V2 engagement cover?

A fixed-scope engagement starts with a written scope listing the instance, environments, applications to test and deliverables, agreed before work begins. DeployOpen plans and implements the move in your infrastructure, which can include deploying the zitadel-login UI, configuring login client credentials and path routing, setting up the break-glass account, testing applications in staging, and enabling the feature instance-wide once you approve. Ask for the scope to state what is excluded, such as custom branding design or changes to applications, so the quote follows from a clear boundary.

How DeployOpen works on this

DeployOpen approaches the move from Login V1 to Login V2 as a fixed-scope piece of work on your existing self-hosted Zitadel v4 instance, in infrastructure you control. We start by confirming whether the change is needed at all, then agree the login deployment, routing, break-glass access and rollout order in writing before any changes are made.

How we scope

  • Confirm whether your applications and console need Login V2 now, or whether staying on Login V1 is the better fit.
  • Inventory every application, custom login flow and integration that depends on the current login pages.
  • Agree in writing the environments, hostnames, path routing design and the break-glass account procedure.

How we build

  • Deploy the zitadel-login UI alongside your existing v4 instance in a staging environment first.
  • Configure login client credentials and path routing so each application reaches the intended login version.
  • Test sign-in, password reset, passkeys and federated logins in staging before enabling the instance-wide feature.

How we hand over

  • Document the final routing configuration, client credentials handling and the break-glass account procedure.
  • Provide a rollback runbook that explains how to return the instance to Login V1 if a problem appears.
  • Walk your platform and security teams through the test results and the steps for future Login V2 changes.

How we support

  • Engagements are fixed-scope, so changes beyond the agreed scope are quoted separately in writing.
  • Ongoing support, upgrades and continuous testing for the login deployment are available as a retainer.
  • Ask any partner to confirm how they handle the break-glass account, PAT storage and post-cutover testing.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.