Preview
Changelog

zitadel deploy warns before it locks users out

Released in v0.5.0

zitadel deploy and zitadel deploy --dry-run now warn when the config would lock existing users out, naming the schema and counting the users it affects:

  • users who lack the property a schema now signs in with (its x-identifier);
  • users with an SSO link whose schema no flow uses any more;
  • users who depend on a sign-in method the config disables, such as passkeys for users who signed up with only a passkey.

These checks only warn, and are skipped when the users cannot be read. deploy also warns when a login flow can finish without verifying a password, passkey or SSO sign-in.

Mistakes are caught earlier, and explained:

  • The dry run and zitadel doctor refuse a user schema whose x-auth-methods holds a key that is not a sign-in method, such as a misspelt pasword, and suggest the method it was likely meant to be. Before, the dry run passed and the deploy failed with a generic error.
  • When the server refuses a release, deploy prints which schema or flow it rejected and why, instead of only release: invalid. A schema that fails the meta-schema names the failing property path and keyword.
  • zitadel auth-method password|passkey|sso disable --dry-run refuses to remove a schema's last way to sign in without --force, as the real run does.

What deploy checks before it publishes