Repository navigation
Releases
Releases Β· zitadel/zitadel
v4.20.6
4.20.6 (2026-11-25)
Bug Fixes
- eventstore: recover from panics in projection handlers (#13079) (d645bd1), closes #13057 #11713 #13066 #13057
- login: save registration language in new user profiles (#13113) (556c24d), closes #12950 #12657 #12950
- telemetry: record tarpit delays as span and log (#13114) (b735db5)
Performance Improvements
v4.20.5
v4.20.4
4.20.4 (2026-11-17)
Bug Fixes
- login: add a resend countdown to the OTP SMS page and stop duplicate codes (#13009) (8f22f0f)
- login: support Safari and iOS older than 16.4 again (#13074) (384bb9e), closes #11629
- login: use GitHub Enterprise Server template in login v1 (#13100) (e627c7c), closes #13086
- use PKCE by default for Google, GitHub, GitLab and Azure AD IdPs (#13086) (9c1c141)
Performance Improvements
v4.20.3
β οΈ Upgrade notes
- Custom login UIs: completing or failing an OIDC or SAML request (
CreateCallback,CreateResponse) now requires thesession.linkpermission, whatever headers are sent. The hosted Login V2 and custom login UIs whose service user has theIAM_LOGIN_CLIENTrole are not affected. If yours uses another user, for example anIAM_OWNERpersonal access token, grant itIAM_LOGIN_CLIENTbefore upgrading. - Local authentication disabled: password checks through the Session API now follow the login policy of the user's organization, like Login V1. Users of an organization that disables username/password login can no longer sign in or change their password with a password. Send them to their identity provider.
- Public host header: the
x-zitadel-public-hostheader must be a single plain host with an optional port. Other values are now rejected instead of ignored. - Notification links: if the host that triggered a notification is not valid, its links use the instance's primary domain. This includes notifications queued before the upgrade.
- Login V1 authorization codes: codes issued but not yet redeemed before the upgrade are rejected once. Affected users sign in again.
- Login V2:
- External IdP sign-ins must be completed in the browser that started them. Sign-ins in progress during the upgrade have to be restarted.
- Adding OTP email or SMS as a second factor now needs a confirmation click.
- New texts were added. Custom login texts show the default for them until customized.
- Custom builds: internal modules moved to
src/lib/server/andsrc/lib/actions/, and the build fails on Server Actions missing fromchecks/server-actions.allowlist.json.
Error changes
No existing error IDs, message keys or gRPC codes were changed or removed. The following calls can now return errors where they previously succeeded:
| Call | Condition | Error |
|---|---|---|
CreateCallback, CreateResponse (OIDC/SAML) |
caller lacks session.link |
PERMISSION_DENIED |
| Session API password check | organization disables username/password login | FAILED_PRECONDITION, Errors.Org.LoginPolicy.UsernamePasswordNotAllowed |
| Session API password check | organization's login policy can't be read | FAILED_PRECONDITION, Errors.Org.LoginPolicy.NotFound |
| Session API password check | session has no user organization | FAILED_PRECONDITION, Errors.User.UserIDMissing (new, COMMAND-Vz4tb) |
/oauth/v2/token (code issued through Login V1) |
user not authenticated, or a different user than at issuance | invalid_grant |
| any request | invalid x-zitadel-public-host header |
HTTP 400, invalid public host (new, HTTP-Rk7pX) |
4.20.3 (2026-11-13)
Bug Fixes
- login: bind external IdP sign-in to the browser that started it (4fc0ea6)
- login: never complete OIDC/SAML requests with an invalid session (de24098)
- login: require confirmation before adding OTP via email or SMS (f96bbb3)
- login: restrict server actions and derive session data on the server (d3175e6)
- login: restrict the IdP error page back link to login paths (77a320e)
- login: retry gRPC calls that fail to connect with unavailable (#13063) (ade3702), closes #13064
- oidc: bind Login V1 authorization codes to the authenticated user (b977f69)
- session: enforce the local authentication policy on password checks (b95ebee)
- validate public host headers before building links (8ce0ac5)
v4.20.2
4.20.2 (2026-11-09)
Bug Fixes
- build: retry proto plugin download on transient GitHub errors (#13060) (16add2c), closes #13057
- cache: expire redis index keys and invalidate past missing keys (#13021) (d23ae5c)
- login: treat a rejected session cookie token as no session (#13037) (dce17d5), closes #12423 #13004 #13004 #12209 #12558
- notification: skip password-change mail when policy is missing (#13057) (03170a6)
v4.20.1
4.20.1 (2026-11-03)
Bug Fixes
- apply log level and masking to OTEL log export (#12997) (64b3915), closes #12045 #12996 #12045 #12996
- drop user search trigger on session creation (#13027) (709968c), closes #9635 #6537
- login: keep the sessions cookie within the browser size limit (#12995) (4930911), closes #12968 #12656 #12735 #12520
- login: replace deepmerge in i18n message merging (#13013) (7c6ca4b), closes #13012
- made email addresses case insensitive (#12571) (13c9bca), closes #12025
- skip nil job insert results in debug logging (#12996) (c9af97c), closes #12045
v4.20.0
4.20.0 (2026-10-22)
β οΈ Upgrade notes
- Go 1.26: ZITADEL is now built with Go 1.26.10. Outbound TLS connections (SMTP, external IdPs, Actions and webhook targets, HTTP SMS providers) no longer accept certificate chains through the compromised eMudhra intermediate CAs (#12969); affected endpoints need a new certificate, the check can't be disabled. Go 1.26 also rejects URLs with invalid colons in the host and offers post-quantum hybrid key exchanges in TLS by default. If a configured URL or outbound connection stops working,
GODEBUG=urlstrictcolons=0orGODEBUG=tlssecpmlkem=0restores the previous behavior. - Login V2: the device code check is now signed with
ZITADEL_SESSION_COOKIE_SECRET, like the other login proofs. Users in the middle of a device authorization during the upgrade have to enter the user code again.
Bug Fixes
- console: derive environment.json api from the requested origin (#12893) (e01ccc9), closes #12009 #12195
- deps: build with Go 1.26.10 and golang.org/x/net v0.60.0 (#12932) (3fe639d), closes #12969 #12969
Features
- login: configurable text if external user can neither be create⦠(#12724) (fb4bc84), closes #12723
Performance Improvements
v4.19.5
4.19.5 (2026-10-15)
β οΈ Upgrade notes
- Device authorization: users now confirm the device on a consent screen. If a project requires a grant to authenticate, users without one can no longer sign in through the device flow. Custom login UIs need the
session.readpermission forGetDeviceAuthorizationRequest. - Login V2: email and invite verification, passkey registration and IdP linking are now also protected by
ZITADEL_SESSION_COOKIE_SECRET. If you use a value from an example configuration (e.g.SessionCookieSecretNeedsAtLeast32Charsfrom the compose.env.example), replace it with a random one. Users in the middle of one of these steps during the upgrade have to repeat it. - List limits: list endpoints now enforce the default and maximum query limits (A10018).
Bug Fixes
- api: enforce query limits on v2 list endpoints (#12875) (247d8ce), closes zitadel/zitadel#12881 zitadel/zitadel#12876
- api: restore query limits on v1 list endpoints (#12876) (fe4f4fd), closes zitadel/zitadel#12875 #2342 #2433 #2383 #2612 #2820 #2818 #2838 #3075 #3096 zitadel/zitadel#12881 zitadel/zitadel#12875
- console: don't load all projects on startup and prepare for list limits (#12881) (95dae90), closes zitadel/zitadel#12875 zitadel/zitadel#12876 #12875 #12875 #12876 #12876
- login: sign user verification check and IdP link proof with server secret (e32ba7a)
- reject invalid public host headers instead of ignoring them (6493aa9)
- require consent and authorization to approve device authorizations (a618740)