Repository navigation
build: version packages - #3461
zitadel-nextgen-release[bot] wants to merge 1 commit into
Conversation
|
cd24b65 to
9d0c733
Compare
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues block the coordinated v0.11.0 release metadata update.
No open issues 🎉
What changed in this PR
Prepares the coordinated v0.11.0 release of Zitadel’s server, CLI, SDKs, and supporting packages. This PR updates release metadata, not runtime code.
Changes:
- Advances published packages to
0.11.0and updates private workspace package versions. - Adds changelog entries for application listing, claim-state detection, redirect validation, grant scopes, and signed-out avatar behavior.
- Removes five changesets now incorporated into the changelogs.
| File | Description |
|---|---|
packages/testing/package.json |
Bumps test kit to 0.11.0. |
packages/testing/CHANGELOG.md |
Records updated CLI, API, and config dependencies. |
packages/server-sdk-contract/package.json |
Bumps private contract package to 0.0.5. |
packages/server-sdk-contract/CHANGELOG.md |
Records SDK core dependency update. |
packages/sdk-vue/package.json |
Bumps Vue SDK to 0.11.0. |
packages/sdk-vue/CHANGELOG.md |
Records component and core dependency updates. |
packages/sdk-tanstack-start/package.json |
Bumps TanStack Start SDK to 0.11.0. |
packages/sdk-tanstack-start/CHANGELOG.md |
Records component, core, and React dependency updates. |
packages/sdk-sveltekit/package.json |
Bumps SvelteKit SDK to 0.11.0. |
packages/sdk-sveltekit/CHANGELOG.md |
Records core and Svelte dependency updates. |
packages/sdk-svelte/package.json |
Bumps Svelte SDK to 0.11.0. |
packages/sdk-svelte/CHANGELOG.md |
Records component and core dependency updates. |
packages/sdk-solid/package.json |
Bumps Solid SDK to 0.11.0. |
packages/sdk-solid/CHANGELOG.md |
Records component and core dependency updates. |
packages/sdk-solid-start/package.json |
Bumps SolidStart SDK to 0.11.0. |
packages/sdk-solid-start/CHANGELOG.md |
Records core and Solid dependency updates. |
packages/sdk-react/package.json |
Bumps React SDK to 0.11.0. |
packages/sdk-react/CHANGELOG.md |
Records component and core dependency updates. |
packages/sdk-qwik/package.json |
Bumps Qwik SDK to 0.11.0. |
packages/sdk-qwik/CHANGELOG.md |
Records component and core dependency updates. |
packages/sdk-qwik-router/package.json |
Bumps Qwik Router SDK to 0.11.0. |
packages/sdk-qwik-router/CHANGELOG.md |
Records core and Qwik dependency updates. |
packages/sdk-nuxt/package.json |
Bumps Nuxt SDK to 0.11.0. |
packages/sdk-nuxt/CHANGELOG.md |
Records component, core, and Vue dependency updates. |
packages/sdk-next/package.json |
Bumps Next.js SDK to 0.11.0. |
packages/sdk-next/CHANGELOG.md |
Records component, core, and React dependency updates. |
packages/sdk-core/package.json |
Bumps SDK core to 0.11.0. |
packages/sdk-core/CHANGELOG.md |
Records API dependency update. |
packages/sdk-angular/package.json |
Bumps Angular SDK to 0.11.0. |
packages/sdk-angular/CHANGELOG.md |
Records component and core dependency updates. |
packages/config/package.json |
Bumps config package to 0.11.0. |
packages/config/CHANGELOG.md |
Records API dependency update. |
packages/components/package.json |
Bumps components to 0.11.0. |
packages/components/CHANGELOG.md |
Documents signed-out avatar fix and config update. |
packages/client-sdk-contract/package.json |
Bumps private contract package to 0.0.5. |
packages/client-sdk-contract/CHANGELOG.md |
Records SDK core dependency update. |
packages/api/package.json |
Bumps API client to 0.11.0. |
packages/api/CHANGELOG.md |
Documents corrected grant-operation scopes. |
apps/server/package.json |
Bumps server launcher to 0.11.0. |
apps/server/CHANGELOG.md |
Documents application listing, redirect validation, and grant scopes. |
apps/server-win32-x64/package.json |
Aligns Windows x64 binary package to 0.11.0. |
apps/server-win32-x64/CHANGELOG.md |
Adds release entry with no package-specific changes. |
apps/server-linux-x64/package.json |
Aligns Linux x64 binary package to 0.11.0. |
apps/server-linux-x64/CHANGELOG.md |
Adds release entry with no package-specific changes. |
apps/server-linux-arm64/package.json |
Aligns Linux ARM64 binary package to 0.11.0. |
apps/server-linux-arm64/CHANGELOG.md |
Adds release entry with no package-specific changes. |
apps/server-darwin-x64/package.json |
Aligns macOS x64 binary package to 0.11.0. |
apps/server-darwin-x64/CHANGELOG.md |
Adds release entry with no package-specific changes. |
apps/server-darwin-arm64/package.json |
Aligns macOS ARM64 binary package to 0.11.0. |
apps/server-darwin-arm64/CHANGELOG.md |
Adds release entry with no package-specific changes. |
apps/cloud/package.json |
Bumps private cloud package to 0.0.7. |
apps/cloud/CHANGELOG.md |
Records config dependency update. |
apps/cli/package.json |
Bumps CLI to 0.11.0. |
apps/cli/CHANGELOG.md |
Documents application commands, claim-state fix, and dependency updates. |
.changeset/session-widgets-signed-out.md |
Removes consumed signed-out avatar changeset. |
.changeset/grant-scopes.md |
Removes consumed grant-scope changeset. |
.changeset/flow-redirect-uri-hardened.md |
Removes consumed redirect-validation changeset. |
.changeset/claim-state-read.md |
Removes consumed claim-state changeset. |
.changeset/applications-query.md |
Removes consumed application-listing changeset. |
Review effort: Balanced
6a3105f to
4a34c2c
Compare
ed65c31 to
c80a909
Compare
565a727 to
15f4403
Compare
15f4403 to
d29c532
Compare
Merging this pull request releases
v0.11.0:release-publishpublishes the npm packages and the server container image, and drafts the GitHub Release. Until then, each changeset merged tomainupdates it.Each change is listed once, with the packages it ships in, as the GitHub Release will list it. Every package's
CHANGELOG.mdis in the diff.Minor Changes
@zitadel/cli,@zitadel/server: #34259b03d39-POST /applications/querylists a project's applications, withslugandcreated_atas filter and sort fields and cursor paging. The list holds the applications a release declares and the ones registered throughPOST /applications, each marked bydeclared, and never returns a client secret.zitadel application listandzitadel application get <id>read them from the CLI. SeequeryApplications.@zitadel/cli: #340652189e1-application createoffers Help me choose (browser vs installed, then whether a server keeps a secret) and kind-based redirect suggestion lists with Custom…. Spa and native stay Coming soon in the kind menu.@zitadel/cli: #34050de6b56-zitadel application createdeclares a confidential web Application under.zitadel/applications/with a minted opaqueclient_idand a${{ <SLUG>_WEB_CLIENT_SECRET }}variable reference, enables local OAuth settings when needed, and suggestsvariable set … --secretthen preview/deploy.--preset spaand--preset nativeare Coming soon.--application-env-fileis removed.@zitadel/cli: #3564eaced99-zitadel loginsigns you in to a server as yourself, in your browser, through the server's own sign-in and consent page; the CLI keeps the sign-in in its config directory, readable by you alone, and refreshes it.zitadel personal-access-token create --name <name> --scope <scope>then creates a personal access token for a CI job or an agent with no person at hand: it holds no scope your sign-in lacks, lives 30 days unless--expires-insays 1 to 90, and is printed once.zitadel personal-access-token listshows your tokens without them,zitadel personal-access-token revoke <id>stops one at once, andzitadel logoutforgets the sign-in on this machine.loginprints the link to open, so an agent can hand it to you, and opens a browser unless--no-open. After your password is set, your tokens stop working andcreateis refused until you sign in again withzitadel login.@zitadel/cli,@zitadel/server,@zitadel/api: #3480c9b724e-createDeployment(POST /deployments) is marked destructive in the OpenAPI document, asrollbackDeploymentalready was: both replace what a project serves.@zitadel/api'sdestructiveOperationslists it, the server's MCP endpoint asks the person at the client before it sends one, andzitadel api createDeploymentasks first too, so without a terminal it needs--force.zitadel deploy,zitadel deployment createandzitadel previeware unchanged: they already ask on their own terms.setUserPassword(PUT /users/{user_id}/password) is marked destructive as well: the password it replaces cannot be put back, and whoever sets one can sign in as that user. The MCP endpoint asks before it sends one, and so doeszitadel api setUserPassword, which without a terminal now needs--force.@zitadel/cli,@zitadel/server,@zitadel/api,@zitadel/config: #34992f905c6- A server can name the hosts whose OAuth clients it admits without registration: setoauth.client_document_hosts(NEXTGEN_OAUTH_CLIENT_DOCUMENT_HOSTS), for example toclaude.ai,chatgpt.com. A client document on any other host is never fetched, and a client whose host leaves the list is refused its next refresh. The list is the newauth.client.admitpolicy, whichzitadel policy testevaluates too.@zitadel/cli: #3549dbc1f76-zitadel setupwrites.mcp.jsonat the app's root, so Claude Code and the Copilot agent in VS Code started in the app are connected to the server's MCP endpoint (/api/v1/mcp) without a further step. The committed file holds no secret: Claude Code reads the project secret from the git-ignored.zitadel/secretthrough the file'sheadersHelper, and VS Code fills${ZITADEL_PROJECT_SECRET}from its environment. Setup adds its server beside the servers a.mcp.jsonalready names, and leaves alone one that already nameszitadel.@zitadel/cli: #34503030506- The dev proxyzitadel setupwrites for the single-page apps (React, Vue, Solid, Svelte, Qwik) and for Angular is now a plain rewrite of/__nextgento your Zitadel server. It adds no credential: the browser sends the project's publishable key on sign-in, and the app passes it to the SDK. It also forwards the OAuth metadata path and names the proxy path inX-Forwarded-Prefix, so the OAuth issuer stays under/__nextgen. Setup writes the key to.env.localasZITADEL_PUBLISHABLE_KEYfor every SPA (the Vite apps also getVITE_ZITADEL_PUBLISHABLE_KEYfor the browser), replacingZITADEL_PREVIEW_TOKEN. Onlocalhost, the app and a local console share one session cookie again, and a browser that held a session from the earlier proxy signs in again after the upgrade. The nextzitadel setuporzitadel doctor --fixreplaces an earlier proxy.@zitadel/cli: #3604633442e- Sign-in runs will send a hash of your user ID with their analytics, so the CLI's events can be linked with the console's once the console sends the same value. The hash is the SHA-256 of the ID, and the ID is never sent. Telemetry still follows the opt-out (ZITADEL_TELEMETRY=0,DO_NOT_TRACK,--no-telemetry).@zitadel/cli,@zitadel/server: #35620d2f2c6- Writes that can take over or lock out a user of the platform project, and memberships in its teams, now need the caller to hold at least what the user holds or would gain, on every project; elsewhere they ask the user's project'sadmin; a refusal answerspermission_deniedwith adetails.details.reason(ADR 094 §4, §7).Breaking:
PUT /users/{user_id}/password, the passkey registrations,DELETE /users/{user_id}and aPATCH /users/{user_id}that changes the schema'sx-identifierattribute (such asemail) askadmin, noteditor, and, for a user of the deployment's platform project, refuse one who holds a role the caller lacks (target_holds_more); on the reserved platform project only an operator does them to another account (operators_only), or its admins where the deployment names no operator. Adding a member to a platform team that owns a project, throughPOST /teams/{team_id}/membershipsorPOST /userswithteam_id, or removing one withDELETE /teams/{team_id}/memberships/{user_id}, is for that team's active members and operators (owning_team_members_only); where the deployment names no operator, an admin of the platform project may add one to such a team that has no active member, and the events say so (authorization.pathowning_team_recovery). A user of the platform project who holds roles on more than 200 projects is an operator's alone (operators_only).DELETE /teams/{team_id}is refused with409 proj.last_ownerwhen it would deactivate the last active member of a team that owns a project, and on the platform project a team that owns an active account's lifecycle is an operator's to deactivate. Ask an admin of the project, or an operator, to make these changes.@zitadel/cli,@zitadel/server,@zitadel/api,@zitadel/components,@zitadel/testing: #3568c2ccc73- Each login flow keeps its state in a cookie of its own,_zflow_{flow_id}, in place of the one_zflowper host, so two sign-ins in one browser no longer end each other. A response whose flowidchanged, after a pivot or a pop, moves the cookie to the newidand deletes the old one. A browser keeps the cookies of at most three flows:POST /flowsdeletes the oldest flow cookies the request carried beyond that, which ends those flows.GET /flows/{flow_id}andPOST /flows/{flow_id}/submitno longer declare a_zflowcookie parameter, so the generated clients lose it: a client that is not a browser sends back the_zflow_{flow_id}cookie the last response set. Without it,GET /flows/{flow_id}answers404withflow.not_foundand a submit answers401withflow.cookie_invalid. The operations name the cookie in a new spec extension,x-zitadel-cookie, which theoperationsexport of@zitadel/apicarries ascookie, and from which the CLI still refuses to call them.<zitadel-login>starts a new flow when the one in the URL answers404or410, and@zitadel/testing'sseedSessioncarries the per-flow cookie.@zitadel/cli,@zitadel/server: #3522ef1f566- Record apolicy.evaluate.deniedevent when a project's policy refuses an operation, such as a password that is too short. Setevents.policy.decisionstoallto also record the operations a policy admits, or tononeto record neither. The events are written when the policy decides and can be missing when the database does not answer. The CLI's skill for AI agents says how to find what the password and sign-up policies refused withevent list --filter event_type=policy.evaluate.denied.@zitadel/server,@zitadel/api: #34945cafab4- Withoauth.enabled, the management API takes an access token the platform project's issuer signed for a person, as a bearer. The person acts with the grants their Console session has, on the operations a Console session may call, and the token's scopes are a ceiling on them: an operation that names a scope the token was not issued with answers403with the new error codeauth.scope_insufficient, which those operations now list. The token ends when the person's session does. The platform project's issuer signs such a token for an authorization request that names the API withresource(RFC 8707), by the API's URL or the MCP endpoint's, with the scopes of the API it asks for: a resource the issuer has no API for answersinvalid_target, and a scope the API does not defineinvalid_scope.project.readon such a token covers the reads of the project that nameproject.write. Throughsearchit finds only the types whose read scope it also carries, such asuser.readfor users, and is refused withauth.scope_insufficienton any other. The invitation operations name the grant scopes in place ofproject.write, since an invitation ends in a grant:grant.createto create one,grant.readto read andgrant.deleteto cancel, withuser.readforexpand=inviter, and a replace withreplaces_invitation_idneedsgrant.deleteas well, plusgrant.readwhen it sends nometadata; a project secret is unaffected, as itsproject.writecovers every scope. Anexpandthat reads another resource needs that resource's scope on such a token:user.readfor a grant'sprincipal, an invitation'sinviterand a schema'sin_use,schema.readfor a flow definition'suser_schema. A person's own reads take such a token too, each under the read scope of what it returns:GET /users/meand itspassword,passkeysandidentity_linkswithuser.read,/users/me/projectswithproject.read,/users/me/teamswithteam.readand/users/me/schemawithschema.read; a project secret is answered on them as before. The newGET /users/me/sessionslists a person's own sessions, with the IP address and user agent each began with, to their session cookie or to such a token withsession.read. The MCP endpoint shows such a token the tools its scopes cover, takes a token issued for the endpoint itself, which the API takes on the endpoint's calls only, and serves its protected-resource metadata (RFC 9728) at/.well-known/oauth-protected-resource/api/v1/mcp, named in the challenge of a401. Its instructions tell an agent signed in as a person to start withgetMyUser, thenlistMyProjects.Breaking: in the Go client, the
403of those seven/users/mereads is now an error with aCode,sess.project_mismatchorauth.scope_insufficient(GetMyUserForbidden,ListMyProjectsForbiddenand so on, orErrorDetails), in place ofSessProjectMismatch. Switch on itsCode.@zitadel/server: #3568c2ccc73- A user already signed in on the issuer's origin is no longer asked to sign in again.POST /flowsfor anauth_request_idreads the browser's session cookie. An active session of the project answers a sign-in (purpose: login) at once when its client needs no consent or the user already gave it for every scope the request asks, when its user is active, of the flow definition's user schema, signed in within the request'smax_age, for a client that holds a secret or is answered at anhttpsaddress that is not a loopback one, and the one the request'slogin_hintnames, if it names one. The response's step is terminal (complete: redirect) with the code inredirect_uri, nohandoff_token, no flow cookie, and the live session'ssession_id.prompt=login,prompt=select_accountandprompt=createstill ask for a page, and so do a client that needs consent and any otherpurpose, such asregisterorreauth. The authorization endpoint now acceptsprompt=noneinstead of refusing it withinteraction_required. When no session can answer, the flow ends at once at the client's redirect URI witherror=login_required, orerror=consent_requiredwhen the client needs consent, andsession_idis empty: a flow that ends as it starts creates no session. A refusal spends the request, so a later flow for it is refused withflow.auth_request_invalidrather than answered with a code. Aprompt=nonerequest that no flow definition resolves for getserror=login_requiredthe same way, instead of an error response.@zitadel/server,@zitadel/api: #3568c2ccc73- The authorization endpoint keeps what a request asks of the sign-in: itspromptvalues, itsmax_age(prompt=loginis amax_ageof 0) and itslogin_hint. It ignores apromptvalue it does not know, and alogin_hintlonger than 254 bytes or with a NUL.POST /flowschecks theauth_request_idbefore it picks a flow definition, so the request shapes the flow:prompt=createstarts the project's registration in place ofpurpose, in the definitionflow_definition_namenames or else the one the audience picks, and signs the user in aspurposesays when the project has no registration;login_hintpre-fills the identifier field.hint.login_namenow pre-fills that field too, as it never did before, and a request'slogin_hinttakes its place.hint.login_nameis now at most 254 characters; a longer one is refused with400. Neither is submitted for the user. A first-party client'sprompt=consentgets the consent step instead ofunauthorized_client.@zitadel/server: #3558baea40c- The platform project's issuer serves thezitadelCLI's client ID metadata document at/oauth/cli-client.jsonand accepts that URL as a client ID, so the CLI can sign a person in to any server, a local or self-hosted one included, without an outside host. The server answers that one URL from memory and never fetches it. The CLI is a public client with a loopback redirect and PKCE, never first-party, so the person always sees the consent step. It signs in whereoauth.client_documentsis on (the default), on the platform issuer only, and is not held tooauth.client_document_hosts, which names the outside hosts whose documents may be fetched. Every other URL on the server's own origin still names no client.@zitadel/server: #34437279e1a- The console's sidebar has an Applications screen listing a project's applications, newest first: each with its clients, whether it comes from code or was registered through the API, and when it last changed. A project without one is told how to create it from the CLI.@zitadel/server: #3623c7c4229- The console's profile lists Connected apps: each app or agent you allowed to act for you, once however many APIs it asked for, with the scopes you granted, when, and the personal access tokens it created. Revoke asks first, then ends all of that app's access: its approval for each API, its refresh tokens and the personal access tokens it created. It has to ask you again the next time it signs in.@zitadel/server: #3463c19c0e2- The console shows when the server runs without its OAuth authorization server (oauth.enabledoff, the default). Project settings then show Off on this server in place of each primary origin's issuer URL and metadata link, the deploy and rollback drawers mark a release with OAuth on as off on this server, and no change warns about issuers stopping, since none answers./console/runtime.jsoncarries the switch asoauth_enabled.@zitadel/server: #344447dd7bb- The console shows whether a release turns the OAuth authorization server on. The Deploy and Redeploy drawers say On or Off for the chosen release, and the Rollback drawer for the release it restores; both name each origin whose issuer stops answering and why. A release's page shows OAuth authorization server: On or Off under Release content. In project Settings → General, each primary origin served with OAuth on shows its issuer URL for the SDK proxy, with a copy button and an Open OAuth metadata link; otherwise it shows Off, Unknown when the release could not be read, or No live deployment. The platform project's origins show none, since its one issuer is the server's own. Editing or removing an origin that is an issuer names the issuer URL that stops working before you confirm. The setting stays read-only in the console.@zitadel/server: #35410f61ea8- Arequest.apievent of a call an AI agent made through the MCP endpoint now carriesmetadata.invoked_by: "mcp", so an agent's calls can be told from the same credential's direct calls to the API (Investigate with events).@zitadel/server,@zitadel/api: #3568c2ccc73- Every response of a flow started withauth_request_idnames the client that asks in a newclientfield: itsclient_id, itsapplication_idwhen it belongs to an application, its name, the host of its redirect URI, the host of its metadata document for a client nobody registered, andfirst_party. A page can say what the user signs in to. The request's application now picks the flow definition byaudience.app_idsin place of the page'shint.app_id, and a request whose client is gone is refused when the flow starts, withflow.auth_request_invalid.@zitadel/server: #3550d171266- The MCP endpoint (/api/v1/mcp) serves an Agent Skill through MCP's Skills extension (io.modelcontextprotocol/skills):zitadel-project, for an agent that holds only the endpoint's tools. It says how to find out which project and person a connection acts as, find out why a user could not sign in from the project's events, publish configuration as a release, invite a person and register an application. The skill ships in the server's binary, and no project can add one. Clients that read the extension, such as Claude Code and VS Code, list it with the server's tools.@zitadel/server: #3480c9b724e- The server serves its API to an AI agent as Model Context Protocol tools at/api/v1/mcp(experimental). An MCP client sends a project secret as the bearer, and each tool is one operation of the API, called with that credential, so a call is authorized and recorded as the same request over HTTP is and the endpoint gives a caller nothing the API does not. A client is shown the tools its credential's scopes cover, by the scopes each operation names in the OpenAPI document, so a project secret is shown them all; a tool that deletes, revokes, rolls back, deploys or replaces a user's password asks the person at the client to confirm first, exceptcancelInvitation, which is sent as it is so that any client can end an invitation's link. A client on an MCP revision before2026-07-28cannot ask its user, so such a call from it is refused and not sent: the answer names the client's revision (protocol_version) and the one that can ask (required_protocol_version), and its hint tells the agent to have the person update the client or make the call in the Console or, unless it is one of the person's own, withzitadel api; the server's instructions say the same when such a client connects. A tool whose operation returns a credential, or a link that hands out a role or a project, says so in its description. A tool's description is the first sentence of its operation's, with a note added where that sentence alone would mislead an agent, as onlistEvents,searchandlistProjectMembers. A tool whose operation requires a body listsbodyas required. An answer that is a JSON object comes back as the result'sstructuredContentas well as JSON text. A tool that returns a resource or a page of them takesfields, dot-paths such asoccurred_atorpayload.operation_idthat cut each resource to what the agent needs, as the CLI's--fieldsdoes (onsearch, each of itsresults, withsearched_project_ids,more_projectsandincomplete_typeskept); a path that matched nothing is named with the paths of the answer it likely meant, such asschema.objectTypeforobject_type, in a note and as data in the result's_metaunderzitadel.com/fields. Aproject_ida call leaves out is the credential's project, and a page or a call whose project the endpoint fills in names that project in its_metaunderzitadel.com/project_id, with a note on an empty page. A note goes into an answer that is a JSON object, under_notes, so a client that shows its model only thestructuredContentshows it too. A client can be connected to a narrower list:/api/v1/mcp/x/users,teamslists those tool sets (the API reference's sections, in snake_case), and/readonlyafter it, or alone, lists only the tools that read and refuses any write;buildReleaseis listed where the URL namesbuild_release. Setmcp.enabled(NEXTGEN_MCP_ENABLED) tofalseto turn the endpoint off.@zitadel/server,@zitadel/api,@zitadel/config,@zitadel/components: #348837e512b- The platform project's OAuth issuer serves a client that presents the URL of its client ID metadata document as itsclient_id, as Claude, ChatGPT, Codex, VS Code and Zed do: no registration and no secret. The consent step shows who publishes the client's name. Setoauth.client_documents(NEXTGEN_OAUTH_CLIENT_DOCUMENTS) tofalseto admit registered clients only.Breaking: the authorization endpoint's error redirects now carry
iss(RFC 9207), and the metadata advertises it: a client that compares the whole redirect URL must accept the parameter.@zitadel/server,@zitadel/api,@zitadel/components: #349598496e9- The OAuth server issues refresh tokens: a client whosegrant_typeslistrefresh_tokenasks foroffline_access, the consent screen shows it, and the token endpoint answersgrant_type=refresh_tokenwith a new access token and the refresh token that replaces the old one. Theauth.token.issuedandauth.token.revokedevents of a refresh grant name its client inclient_id. See Enable OAuth.Breaking: the token endpoint refuses a
resourcethat is not the one the authorization request named, withinvalid_target; it ignored the parameter before, so send the same value in both requests or leave it out of the token request. Its response now carriesscopewhenever the request was granted one. Thereasonof anauth.request.exchange.failedevent has a new value,resource_mismatch.@zitadel/server,@zitadel/api: #3574b53ae42- The OAuth server remembers a person's consent for 90 days: a client on the web is not asked again for scopes the person answered, unless it names one that returns a credential, a client on the person's device is asked each time with their last answer ticked, andlistMyConsentsandrevokeMyConsentlist and end a person's consents.oauth.consent_skip(NEXTGEN_OAUTH_CONSENT_SKIP, on by default) turns the skip off, so every client is asked with the person's last answer ticked; the hosted cloud runs with it off until people can revoke a consent from the Console. See Enable OAuth.@zitadel/server,@zitadel/api,@zitadel/config,@zitadel/components: #34945cafab4- A sign-in now answers an OAuth authorization request:createFlowwithauth_request_idends in a redirect to the client with its code, and asks the person for consent first when the client is not the project's own.<zitadel-login>reads the request from the page'sauth_requestparameter and renders the consent step with the new<zl-consent>atom, which the built-in and the ejectable templates place; a template that leaves it out gets it back before its first button. The person chooses which scopes to grant: reading starts ticked, every change and delete takes a deliberate tick, and the client gets a token for the chosen scopes only. The scopes are in a section per access (view, create and change, delete), each closed to one line: a checkbox that grants all of it, how many of its scopes are granted, and a button that opens them. A login UI of your own names the grant in theacceptsubmission'sfields.scopes; when the request asks for an API's scopes, an accept that grants none of them, or leavesfields.scopesout, is refused with400 flow.consent_scopes_invalid. Word your API's scopes in your app'slocales(consent.scope.<scope>).Breaking: a flow definition can no longer name a step
consentoraccount_choice: the server inserts those steps itself, and the server, the meta-schema and the config validator refuse a definition that uses either name, so rename the step.createFlownow refuses anauth_request_idunless the browser holds the cookie the authorization endpoint set for that request and sends the request from the issuer's origin; it answers400with the new error codeflow.auth_request_invalid.@zitadel/server,@zitadel/api: #3480c9b724e- The OpenAPI document marks three facts on its operations, so a client can tell them without guessing from a method or a name:x-zitadel-read-onlyon aPOSTthat changes nothing (a query, the search, a policy evaluation),x-zitadel-plane: appon an operation an application's backend calls while a user signs in, andx-zitadel-returns-secreton one whose response carries a credential.@zitadel/api/generated/operationscarries them asreadOnly,planeandreturnsSecret.Eight operations whose summary still named an earlier operation name now open with the verb of their
operationId:deleteGrantis "Delete a grant",listVariablesandlistDeploymentVariablesare "List …",setVariablesis "Set a project's variables",createProjectClaimis "Create a project claim",publishIdpandpublishApplicationare "Publish …", andsearchis "Search resources", since it searches the resources of projects and not the projects.@zitadel/server,@zitadel/api: #3563348f144- Withpersonal_access_tokens.enabled(NEXTGEN_PERSONAL_ACCESS_TOKENS_ENABLED, off by default; off, the operations answer501and nozpat_bearer is taken), a person who signs in to the Console can create personal access tokens for a CI job or an agent with no person at the keyboard:createMyPersonalAccessToken(POST /users/me/personal_access_tokens),listMyPersonalAccessTokensandrevokeMyPersonalAccessToken. A token readszpat_…; send it asAuthorization: Bearer <token>to the management API or the MCP endpoint. It acts as the person who created it, on the operations an access token issued for them reaches, and itsscopescap what their grants allow on each call, so an operation that names a scope it lacks answers403auth.scope_insufficient.expires_atis required, at most 90 days away, and cannot be extended, and a person holds at most 50 that have not expired; the token also stops working when it is revoked, when its owner's password is set, while its owner is not active, and when its owner is deleted. Create one from a Console session that signed in within the last 15 minutes (later it answers403tkn.pat_sign_in_required), or with an access token that carries the new scopepersonal_access_token.create, which the consent step never ticks for you: the token then holds no scope that access token lacks, and its record names the client that created it. A personal access token never creates another. The server stores only the SHA-256 of the token's secret, and shows the token once. Its events name the person as actor (human), the token astoken_idandpat_sharedasdelegation_type;auth.token.issuedgainstypeandexpires_atfor it (Give an agent a personal access token).Setting a person's password ends their personal access tokens.
setUserPasswordends every token of that person that has not expired, so one created by someone who got into the account does not outlive the new password. A CI job or an agent that uses one answers401from its next call: create a new token for it after a password change. No session or access token from before the set creates one either, until the person signs in again. Oneauth.token.revokedevent records it, withreasonpassword_setand thecountof tokens that ended.@zitadel/server: #35533e7b828- The newoauth.first_party_clientssetting names the clients the platform project's issuer signs people in to without asking for consent, such as the deployment's own Console and CLI (Configuration). On that issuer an application'sfirst_partyflag no longer skips consent; every other project's issuer keeps it.Breaking: a client of the platform project's issuer whose application is marked
first_partynow asks the person for consent. List its client ID inoauth.first_party_clientsto keep skipping it.@zitadel/server: #3508ad22ce8- The API describes two events for a policy's decisions,policy.evaluate.deniedandpolicy.evaluate.allowed, in a new event category,policy.@zitadel/server: #35619693d9c-rotateApplicationClientSecret(POST /applications/{application_id}/client_secret/rotate) replaces a confidential client's secret and returns the new one once.previous_secrets: revokeends the secrets the client held at once, for a secret that leaked;keep_one_daykeeps them working for 24 hours, so a planned change signs nobody out. The call recordsapplication.client_secret.rotated, whose payload now says when the previous secrets end. On the MCP endpoint it is a tool that asks the person before it runs and says that its answer holds a credential.@zitadel/server: #3592be3f431-POST /search(Search) finds applications:types: ["application"]matches an application'sslugand thenameof its newest revision, or its id, and a result is titled by the name with the slug beneath. An access token issued for a person needsapplication.readto search them. The applications that exist are indexed when the server upgrades. The console's search lists applications too, and opens one on its page.@zitadel/server: #3586432e1b7-POST /search(Search) now answerssearched_project_ids, the projects it read, newest first, besidemore_projects. An empty result now says where nothing was found, which matters most when a console session or a person's token searches withoutproject_id.@zitadel/server: #3552eeda0ea- A session is now read and revoked by its own user, an admin of its project and the deployment's operators;POST /sessions/querylists a project's sessions to its admins only.GET /eventsandGET /events/{event_id}answer the IP and user agent a request came from (metadata.client.ip,metadata.client.user_agent) only to an admin of the project.Breaking: a viewer or an editor of a project no longer reads where a request came from in its events: both fields are absent from what they read. A project secret is unaffected, as it administers its own project. Give someone who needs these fields the admin role on the project.
@zitadel/server: #347151f6f2d- Add an existing user to a team withcreateTeamMembership, and remove a member withdeleteTeamMembership. Both need theadminrole on the team's project and send ateam.membership.updatedevent. The last active member of a team that owns a project cannot be removed.@zitadel/config: #3473589027c- The.zitadel/schemas/README.mdthatzitadel setupwrites lists how each user schema property shows in the login component, including must-accept checkboxes and the types the login can't collect yet. See Edit the login flow.@zitadel/components,@zitadel/sdk-core,@zitadel/sdk-next,@zitadel/sdk-nuxt,@zitadel/sdk-react,@zitadel/sdk-vue,@zitadel/sdk-angular,@zitadel/sdk-solid,@zitadel/sdk-svelte,@zitadel/sdk-qwik,@zitadel/sdk-sveltekit,@zitadel/sdk-solid-start,@zitadel/sdk-qwik-router,@zitadel/sdk-tanstack-start: #1937e9a9c16-<zitadel-session>and<zitadel-logout>now firezitadel-session-errorwhen loading the session or signing out fails with anything other than the backend's no-session answer. The detail is{ status?, code?, message, phase }, withphaseset to"load"or"signout", and the SDKs surface it as anonSessionErrorcallback (onSessionError$in Qwik), typed asZitadelSessionErrorDetail. A failed load shows its error in the session card; the avatar menu stays hidden.@zitadel/sdk-qwik: #36003014f61-ZitadelLogin,ZitadelLogoutandZitadelSessionforward eachon…$callback the way the other SDKs forward theirs, and no longer buffer terminal events until the callbacks attach.Breaking: a terminal event that fires before the wrapper attaches its listeners is no longer replayed, and the widget does not wait for async work in a Qwik callback before it navigates. Finish any work that must complete before navigation somewhere the widget does not navigate away from first.
Patch Changes
@zitadel/cli: #343393f4381-zitadel statusandzitadel doctorask the server for a cloud project's owning team when.zitadel/secretnames none, so a project claimed from another machine no longer reads as temporary, andzitadel claimandzitadel doctor --fixrecord the team in.zitadel/secret.@zitadel/cli: #341066b8350-zitadel application create --preset spaand--preset nativeare listed as Coming soon (disabled in the kind menu; refused non-interactively) until public-client create is unlocked.@zitadel/cli: #3596def6ebd-zitadel getand the CLI's prompts now show a line break in a server value as\x0aon one line, so the value cannot start a new line in someone else's terminal.@zitadel/cli: #362645a5697-zitadel stopstops a local server inside a container started without an init, such asdocker runwithout--init. On Linux, the CLI no longer counts a server process that has exited as running while nothing has collected it, wherestopused to fail with "Local Zitadel server did not stop".@zitadel/server: #3568c2ccc73- The authorization endpoint answers aPOSTfrom another site, or from a browser that does not say where it came from, with a303to the same request as aGET. A browser sends noSameSite=Laxcookie with another site'sPOST, so the endpoint could not see the binding cookies it held and expired none of them; theGETsends them, and a browser keeps at most 10. APOSTfrom the issuer's own site is answered as before.auth_request_idonPOST /flowsnow says that a request stays open 15 minutes from the authorization endpoint's redirect, however long its flow takes.@zitadel/server: #35620d2f2c6-POST /userswith ateam_idthat names no team of the user's project answers400 user.invalid, not500 internal.@zitadel/server: #2218fdec3eb-POST /flowsnow checks theredirect_uria caller sends: it must be a page on the origin that sent the request, as an absolute URL or a path such as/dashboard. A target on another site, one a browser could read as another host, a request without anOriginheader, or aredirect_urisent together withauth_request_idis refused with400 req.invalid. Before, any address was stored and the sign-in ended by sending the browser there.@zitadel/server,@zitadel/api: #3486019709f- The grant operations name the scopes the permission catalog gives them in the OpenAPI document,grant.createoncreateGrant,grant.readongetGrantandqueryGrants, andgrant.deleteondeleteGrant, where they named the project's scopes; a full project secret still covers every operation.@zitadel/server,@zitadel/config,@zitadel/components: #346952469a2-<zitadel-login>marks a checkbox the user schema pins toconst: true, such as accepting terms, with the required asterisk and blocks the step until it is ticked. The flow API now returns that rule asvalidation.conston the field.@zitadel/server: #353737af320- The events the OAuth authorization and token endpoints write name their client inclient_id, as every other event does, soGET /events?client_id=…finds the tokens a client was issued beside the requests it made with them:auth.request.creatednames the client the authorization request names,auth.request.exchange.failedthe client that presented the code, and theauth.token.issuedof a redeemed code the client it was issued to. They leftclient_idempty before and named the client only in the payload, which they still do.@zitadel/server: #3627296185c- A login flow that offers passkey registration right after the identifier step no longer lets someone who knows an account's login name add their own passkey to it and sign in: adding a passkey to an existing user now takes a password, passkey or SSO sign-in first and is otherwise refused with400 att.invalid_request.@zitadel/server: #358575ac18f- A request body that names no variant, such asevaluatePolicysent{}or an unknownoperation, is now refused withreq.invalidnaming the property it lacks indetails.fields(operation,kindortype), where the answer named no field before.@zitadel/server: #35542398684- A request body the API cannot read is refused asreq.invalidnaming the field it got wrong for a value of the wrong type and for a field the body has no property for too, and a field below the top is named by its whole path, such asapplication.namerather thanname.@zitadel/components: #3612f16e40a- A cancelled passkey prompt in the login now reads "Passkey authentication failed." instead of "The passkey prompt was closed before completing.", in every built-in language.@zitadel/components: #19353392a0d-<zitadel-logout>no longer shows an empty avatar with a Sign out button while the session loads, when nobody is signed in, or after signing out without apost-sign-out-url; a projected<template>likewise appears only once someone is signed in and is removed after signing out in place.