r/zitadel • • 13d ago

Next Zitadel preview 0.6.0: dry runs, pull-request previews and rollbacks for login changes

6 Upvotes
We just published a walkthrough of how login changes work in the preview now: https://zitadel.com/blog/next-zitadel-preview-ship-login-changes-like-code

The short version. Schemas, login flows, branding and policies live in `.zitadel/` in your repo, and `zitadel deploy` is the only way they reach your users. On top of that:

- `zitadel deploy --dry-run` shows the diff and warns when a change would lock existing users out, with a count (for example a new sign-in identifier some users don't have, or dropping a method users depend on).
- `zitadel preview` makes a branch's login live on its own preview URLs (Vercel and Netlify read them automatically).
- `zitadel deployment rollback` brings back the previous release. User data and schema revisions stay as they are.
- 0.6.0 adds Logs to the console: audit events and API requests, with filters, a live mode and export.

What it doesn't do yet: Zitadel can't act as the OpenID Connect and OAuth provider for your own apps. That's what we're building next. If you need it today, or SAML and SCIM, Zitadel v4 has them.

To try it in a new folder (Node.js 24+):

```
npx /cli@latest start
npx u/zitadel/cli@latest setup --framework next --server local
npm run dev
```

Questions and bug reports welcome here or on GitHub: https://github.com/zitadel/nextgen

r/zitadel • • Oct 13 '26

New in the next iteration of Zitadel: Console and Google SSO

4 Upvotes

We’ve published another preview of the next iteration of Zitadel, with two significant additions.

The new management Console gives you a clearer view of your teams, projects, users, user schemas, login flows, and branding. Its flat navigation makes it easier to move between resources and find the information you need.

You can now also configure Google SSO through the CLI and add it as a login option to your application. Google is the first external identity provider supported through the new CLI experience, with generic OpenID Connect providers coming next.

We’re excited to see these pieces come together and would love to hear what you think:

https://zitadel.com/blog/next-zitadel-console-google-sso-preview

Which identity provider or Console capability would you like us to add next?


r/zitadel • • Sep 28 '26

Recording: ZITADEL Community Lab - Getting started with the new CLI

2 Upvotes

We’ve published the recording of our ZITADEL Community Lab about getting started with the new CLI.

During the session, Matías and Wim guided participants through the setup step by step and explored the developer workflow of the next iteration of ZITADEL.

If you missed the live session or want to try it yourself, you can watch the full recording here:

https://www.youtube.com/watch?v=JfgbapwiDjo

We’d love to hear how the CLI works for you. If you try it, feel free to share your feedback or questions below.


r/zitadel • • Sep 17 '26

Why Zitadel’s next generation is no longer event-sourced

6 Upvotes

Event sourcing has been a core part of Zitadel’s architecture. In Nextgen, we are changing its role.

Relational tables become the source of truth. The system no longer replays events to determine the current state of users, sessions, or projects.

Events are not going away. Nextgen still records events when changes happen, but uses wide events with richer context for auditing, security investigations, and integrations. The model also covers activity such as API requests.

In this post, we explain why we made this change, what event sourcing and CQRS gave Zitadel, and which tradeoffs come with the new architecture:

https://zitadel.com/blog/why-zitadel-nextgen-is-no-longer-event-sourced

We would be interested to hear how others approach this. Do you use event sourcing for identity data, and which benefits or operational costs have you seen?


r/zitadel • • Sep 07 '26

Join our first ZITADEL Community Lab: Get hands on with the new CLI

2 Upvotes

We are starting a new series of hands-on ZITADEL Community Labs, and the first session will focus on the new ZITADEL CLI.

Instead of just watching a presentation, you can follow along step by step on your own machine. Matías and Wim will guide you through setting up the CLI from scratch, running the commands, and exploring the new developer workflow.

If you run into problems, the team will be there to help. You will also have the opportunity to ask questions and give us direct feedback on what we are building for the next generation of ZITADEL.

📅 Monday, September 21
⏰ 1:00 PM UTC | 3:00 PM CEST
📍 Live on Discord

RSVP here:
https://discord.gg/zitadel?event=1546432720563871784

You can also check out the Nextgen repository before the session:
https://github.com/zitadel/nextgen

Bring your terminal and build with us!

If you cannot join live, we will record the session and publish it on our YouTube channel:
https://www.youtube.com/@zitadel


r/zitadel • • Sep 03 '26

New post: How AI agents get impersonated (and how to stop it)

3 Upvotes

We wrote a guide on the different ways an AI agent's identity gets exploited in practice, and what actually closes each one. Meant to be a practical reference if you're putting agents into production and want to know what to check for.

Link: https://zitadel.com/blog/ai-agent-impersonation

Curious if anyone here has run into agent-to-agent spoofing in a real A2A or MCP setup.     


r/zitadel • • Aug 31 '26

Unpopular opinion: "AI agent security" isn't a new problem. We just got comfortable skipping the boring part.

4 Upvotes

Every "agentic AI security" take right now writes like agents invented a new threat model. They didn't.                                

Authentication and authorization were fine. What everyone quietly let slide for the last decade is accounting, the boring third leg nobody wanted to build, because a person with too much access who never misused it cost you nothing.                                      

An agent doesn't get tired and doesn't have a conscience. If it has access and a reason, it uses it, at machine speed, across everything that access reaches. The leg everyone skipped is suddenly the one that matters most.                                                 

We wrote this up properly, RFC 8693 receipts included, plus a Google Drive example that might annoy a few people: https://zitadel.com/blog/ai-agent-identity

Genuinely curious if anyone here thinks this take is too dismissive of what's actually new with agents. Tell us where we're wrong. 


r/zitadel • • Aug 24 '26

New performance tuning guide for self-hosted ZITADEL

7 Upvotes

We’ve spent time improving ZITADEL’s performance and making it easier to get the most out of your setup.

Alongside these improvements, we’ve published a new performance tuning guide for self-hosted deployments. If you’re running ZITADEL at a higher scale or want to get more performance out of your existing infrastructure, it walks through the key settings and considerations:

https://zitadel.com/docs/self-hosting/manage/tuning

If you try it, we’d be interested to hear about your setup and which adjustments have the biggest impact.


r/zitadel • • Aug 22 '26

Multi-tenant ZITADEL self-host — how do you isolate the per-tenant Login V2 processes?

3 Upvotes

Running ZITADEL v4 self-hosted with one virtual instance per tenant, so I've got a separate Login V2 (the Next.js app) per instance — each one needs its own IAM_LOGIN_CLIENT PAT.

They all run under the same OS user. So any one login process can read every other tenant's token, plus the master key and DB config sitting right next to it. One RCE in a single tenant's login and all are compromised.

How are you all handling this?

- dedicated user (or container) per login, tokens as per-service files?

- just run one shared login with a system-user token, pick the instance by Host header and leave it at that ?

Docs don't really cover the multi-instance self-host case, so curious what people actually run for multi tenancy.


r/zitadel • • Aug 20 '26

Dynamic Client Registration is now available in ZITADEL

4 Upvotes

We’ve just added OAuth 2.0 Dynamic Client Registration (RFC 7591) to ZITADEL.

It allows clients to register themselves as OIDC applications at runtime instead of requiring applications to be created upfront. This is particularly important for clients that need to self-register before any user context exists, including Model Context Protocol (MCP) clients such as Claude Desktop, claude.ai, and the MCP SDKs.

You can learn how it works and how to enable it in the documentation:

https://zitadel.com/docs/guides/integrate/dynamic-client-registration

We’re also already working on Client ID Metadata Document (CIMD) support as the next step in preparing ZITADEL for AI and agent use cases.

Are you already using dynamic client registration with MCP or other types of clients? We’d be interested to hear more about your use case and experience.


r/zitadel • • Aug 17 '26

Has AI changed your answer on build vs buy for auth?

4 Upvotes

Ask Claude, Cursor, or Copilot whether you should build your own auth or use a provider, and it'll usually just hand you working code. Password hashing, session cookies, a login form, even a passkey flow if you ask.

The agent is capable, so the default answer becomes "build it." But being capable of generating the code isn't the same as being capable of securing it long term. Someone still has to review it, catch the edge cases (unvalidated state parameters, loose redirect URI matching, sessions that don't actually invalidate on logout), and keep it current with OAuth/OIDC changes for years after.

We wrote up our thinking on this, including when building your own genuinely does make sense: https://zitadel.com/blog/agents-didnt-change-build-vs-buy-auth

Curious how people here think about this. Has having an agent write the code changed how you weigh build vs buy, or does it stay the same?


r/zitadel • • Jul 30 '26

ZITADEL Cloud vs Entra External ID for a Multi-Tenant B2B SaaS on Azure

1 Upvotes

I'm building a multi-tenant B2B SaaS for a regulated industry on Azure, and I'm choosing the central identity platform: ZITADEL Cloud (EU region) or Microsoft Entra External ID.

I'm only considering managed services — I don't want to self-host or run identity infrastructure myself. EU data residency is a hard requirement. I know ZITADEL Cloud runs on GCP; residency is enough for us, we don't need full data sovereignty.

What I need: multiple customer orgs, users who may belong to more than one org, enterprise SSO (SAML/OIDC) using each customer's own IdP (Entra ID, Okta, Google Workspace), MFA + passkeys, optional inbound SCIM, delegated admin, and audit-log export for long-term retention.

Entra External ID fits naturally into our existing Azure setup, but I suspect ZITADEL's native organization / project / project-grant model could save significant implementation and maintenance work for B2B multi-tenant.

For people who've actually run ZITADEL Cloud in production, I'd love ground-truth on four things:

  1. How smooth is onboarding a new customer org and connecting its corporate IdP in practice?

  2. How mature is inbound SCIM today, and where does it still bite?

  3. How does pricing scale as the number of customer-specific enterprise SSO connections grows?

  4. Did anything become a real problem only after going live?

And if you evaluated Entra External ID too: did ZITADEL meaningfully simplify your architecture and day-to-day admin, or was it not worth leaving the Azure-native option?


r/zitadel • • Jul 21 '26

[Help] GLPI + Zitadel OIDC SSO - "User not authorized to connect in GLPI" after successful auth

1 Upvotes

Hey everyone,

I’m trying to integrate Zitadel (OIDC) with GLPI using the edgardmessias/glpi-singlesignon plugin, and I’m hitting a wall at the final callback step.

The Setup:

IdP: Zitadel

SP: GLPI 10.x/11.x (using the glpi-singlesignon plugin)

Claims: Passing preferred_username, email, and a custom role claim (urn:zitadel:iam:org:project:roles).

The Issue:

The OIDC authentication flow completes successfully. Zitadel authenticates the user and redirects back to GLPI (/plugins/singlesignon/front/callback.php...), but GLPI immediately throws this core error: "User not authorized to connect in GLPI".

What I’ve tried so far:

Enabled "Automatically add users from external authentication sources" in GLPI.

Set a default profile (Observer/Self-Service) and default entity (Root) so GLPI has a baseline to auto-provision the user.

Ensured "User Info inside ID Token" and "Assert Roles on Authentication" are enabled in Zitadel.

Set up Role Mappings in the plugin to drop users into GLPI Groups (Admin / Task Runner), and assigned Super-Admin / Technician authorizations to those groups.

Purged any deleted duplicate users from the GLPI trash bin to avoid database unicity conflicts.

Despite all this, the plugin/GLPI refuses to provision or authorize the user upon callback. Has anyone successfully paired Zitadel with GLPI, or know exactly what triggers this specific auth rejection before the rules engine even kicks in?

Any pointers on where to look next would be hugely appreciated!


r/zitadel • • Jul 21 '26

[Help] GLPI + Zitadel OIDC SSO - "User not authorized to connect in GLPI" after successful auth

Thumbnail reddit.com
1 Upvotes

r/zitadel • • Jul 02 '26

We published a post on AI agent identity — and why existing access models weren't built for it

2 Upvotes

We've been thinking about how agents need to be treated differently from users and service accounts in an identity system, and wrote it up using a few real incidents (Railway, Replit, OpenClaw) to illustrate the structural gap.

The short version: credentials carry permission, not intent, and that gap is where the damage happens.

Would love to hear if anyone has run into this firsthand: https://zitadel.com/blog/ai-agents-don-t-need-to-break-in


r/zitadel • • Jun 29 '26

One Zitadel instance for both dev and prod - same org names and user emails across environments?

1 Upvotes

For our app we have a dev environment and a prod environment. We took a server and hosted Zitadel on it (from what I've learned, this counts as one instance), and we're trying to use it for both environments.

Our app has a hierarchy of Companies with Users under them, the same as Zitadel's Organizations with Users under them.

Here's the problem: in the dev and prod databases there can be some companies that share the same name, and there can also be users with the same email. Is there a way to still use the same company names and user emails in different environments on the same Zitadel instance, or should we use separate instances?


r/zitadel • • Jun 18 '26

Help us test the next Zitadel developer experience

5 Upvotes

Hi all,

we just published an early preview of a new way to add auth with Zitadel.

The idea is simple: adding auth should start inside your app workflow, not with a dashboard detour. With @zitadel/cli@alpha, you can start a local Zitadel runtime, scaffold or patch an app, and get login + registration running locally.

In our recorded test, including registration and login, the flow completed in 57 seconds. I’ll attach the video here.

Blog post: https://zitadel.com/blog/next-zitadel-preview

Try it with Node.js 24+:

mkdir myapp
cd myapp
npx @zitadel/cli@alpha doctor
npx @zitadel/cli@alpha start
npx @zitadel/cli@alpha setup --framework next --server local
npm run dev

Then open:

http://localhost:3000/login

This is still early and local-first. It does not connect to Zitadel Cloud yet, and it is not a migration path for existing projects. Zitadel v4 is not going away.

We’d love feedback from this community: where did you get stuck, what felt smooth, what was confusing, and what would make this useful in your real app workflow?


r/zitadel • • Apr 14 '26

Zitadel selfhosting limits?

6 Upvotes

Hi all,

Im trying to figure out how the selfhosted version is limited. on https://zitadel.com/pricing the selfhosted is listed in the enterprise column. The limit there is "custom". On the other hand the free version has a limit of 100.

What is the limit then on selfhosted ? :-)

best
Jesper


r/zitadel • • Apr 02 '26

HackingLab Day 2026 – AI Vulnerabilities, Legal Safe Harbors, and Transparency in IR

2 Upvotes

We recently sponsored HackingLab Day at the START Global Campus (St. Gallen) and we caught some great sessions on the evolving threat landscape.

Some interesting takeaways from the event:

  • LLM Vulnerabilities: A heavy focus on the "new" attack surface—specifically how prompt injection and data poisoning bypass traditional safety filters.

  • Beyond the Keyboard: The CTF was impressive; some flags required live social engineering, forcing participants to adopt personas and extract info over the phone.

  • The Maturity Debate: We jumped in at the end for a quick chat about why a high frequency of security advisories should be seen as a sign of a mature security posture, not a weak product.

It’s great to see academic programs getting this hands-on. How is your team handling the shift toward "Agentic" AI risks in your stack?

https://zitadel.com/blog/highlights-from-hackinglab-day-2026


r/zitadel • • Mar 19 '26

Simplifying ZITADEL: Our Comprehensive Terminology Update is Live!

6 Upvotes

One of the most frequent pieces of feedback we’ve received is that our naming conventions could be... well, confusing. Terms in the API didn't always match the Console, which didn't always match the Docs.

As part of our mission to make complex multi-tenancy simple, secure, and scalable, we’ve just rolled out a major terminology alignment.

The Highlights:

  • Unified Language: Whether you are in the Customer Portal, the Management Console, or reading docs, the labels now match.

  • API Stability: We know you hate breaking changes. We kept existing endpoints/responses as-is but added detailed annotations and comments to the specs to reflect the new standards.

  • GitHub Tracking: We’re being fully transparent about every change. You can see the exact "Before and After" mapping in the GitHub issue

We’re committed to reducing friction for the dev community. Let us know what you think of the new naming!

View the full article: https://zitadel.com/blog/streamlining-zitadel-terminology-for-better-dx


r/zitadel • • Mar 09 '26

Ubuntu AuthD adds generic OIDC support (we can finally drop LDAP bridges for Linux auth)

5 Upvotes

Managing Linux machine authentication against modern identity providers usually means fighting with SSSD, setting up an LDAP bridge, or wrestling with outdated PAM modules. It is a brittle, legacy-heavy setup.

Ubuntu just released an update to AuthD that adds a generic OIDC broker. This means you can authenticate Ubuntu desktop and server environments directly against any standard OIDC provider.

For those of us running ZITADEL, this is a massive operational relief. Instead of syncing users to a secondary directory service just so a Linux machine can read them, we can treat the OS login as a standard OIDC client. This significantly reduces the infrastructure required to maintain OS-level access control and gets us out of the business of managing legacy protocols.

Link to the Ubuntu engineering post: https://ubuntu.com/blog/more-identity-providers-ubuntu-generic-broker


r/zitadel • • Mar 06 '26

Connecting frontend and backend traces with a custom gRPC interceptor (upcoming ZITADEL v4.13.0)

5 Upvotes

Running a decoupled authentication architecture usually means the user-facing Login UI and the core API backend generate disconnected telemetry.

Our Go backend has had OpenTelemetry for a while, but the NextJs Login UI was opaque. An ingress controller or edge proxy would initiate a trace, but the Login would drop the headers. It would then fire off a gRPC call to the API, causing the backend to start a brand new, unrelated trace. Debugging latency spikes or failed requests required manually correlating frontend logs with backend traces.

We just merged PR #11429 to fix this (which potentially lands in v4.13.0).

We wrote a custom gRPC interceptor for the Login UI that injects W3C trace context headers (traceparent, tracestate) into all outbound calls. A single OTLP trace now accurately maps the full transaction: HTTP GET /ui/v2/login -> zitadel.settings.v2/GetLoginSettings -> backend gRPC handler.

We also ripped out standard console logging in the Login and replaced it with structured JSON that injects those trace IDs directly into the stdout logs for correlation. If you rely on distributed tracing for your auth layer, this removes the blind spot between the edge and the database.

Interested in the details? Check the PR https://github.com/zitadel/zitadel/pull/11429


r/zitadel • • Mar 05 '26

Thank you! -> ZITADEL made the daily Go trending list today.

Post image
5 Upvotes

It has been a while since I checked the GitHub trending repositories, but out of sheer interest I took a look today and it brought me a lot of joy to see ZITADEL back on the daily Go list.

Building an open-source identity provider means spending most of your time buried in OIDC and SAML specs, dealing with multi-tenant data isolation, and generally optimizing our product for security, reliability and usability. It's infrastructure plumbing that usually only gets noticed when something breaks.

Seeing this kind of interest from the developer community is a great reminder that the architectural decisions we are making are resonating with other builders.

Thank you to the community here for reading the code, submitting the brutal (but necessary) GitHub issues, and helping us refine the core engine.

If you have not done it we surely appreciate a star -> https://github.com/zitadel/zitadel


r/zitadel • • Mar 04 '26

Setting up auth locally shouldn't be a multi-day ticket. We got ZITADEL's first time deployment down to 42 seconds.

3 Upvotes

A little while ago, I talked about our commitment to radically improve ZITADEL's developer experience.

Today, I’m just showing a first result -> 42 seconds.

That is the exact time it takes to go from an empty terminal to a fully operational identity stack.

No heavy runtime to boot. No undocumented config files to debug. No massive YAML mazes (no worries you can go there if you want).

Just a raw docker compose up -d on a clean machine. In under a minute, the images are pulled, the database is initialized, the Go API and Next.js UI are served, and I'm authenticated into the management console.

Auth is critical infrastructure, but setting it up locally to build your app shouldn't be a multi-day engineering ticket. It should be boring, predictable, and lightning-fast.

If you are evaluating IAM or just want to test this cold-start speed yourself, grab the compose file from our docs and time it ->https://zitadel.com/docs/self-hosting/deploy/compose


r/zitadel • • Mar 04 '26

We just publicly disclosed 5 vulnerabilities (including a critical 1-Click ATO). Here’s why we refuse to patch quietly.

10 Upvotes

Hey everyone,

If you check the ZITADEL repo today, you'll see a batch of new security advisories. They range from a moderate token issue to a critical 1-click account takeover via XSS.

First off: a huge thank you to the external security researchers who found these and worked with us on responsible disclosure. You make open source better, and we are super grateful.

In the software world, there’s often pressure to slip security patches into normal releases so a project doesn't look "unstable" or "buggy." We hate that approach.

We're being clear about these disclosures because we believe active security practices > pretending bugs don't exist. Keeping an open-source project safe is a messy, ongoing grind. True security comes from active changes, fast patches, and total transparency. We'd rather be honest about that grind than try to hide it to look "perfect."

How do you all handle the pressure to look flawless as maintainers? Do you find your users appreciate the loud disclosures, or does it scare people off?

Details on the patches here for anyone interested: https://github.com/zitadel/zitadel/security/advisories?state=published