gloammerG
ZITADEL22h ago
gloammer

Update @zitadel/client npm package

We're using only the apps/login application with packages installed from npm (not the full ZITADEL monorepo), and I've encountered an import issue after update to actual master.
The logout page implementation in the upstream code references verifyJwt from @zitadel/client/node:

// apps/login/src/app/(login)/logout/page.tsx
import { verifyJwt } from "@zitadel/client/node";


However, the published npm version of @zitadel/client (v1.3.1) doesn't export this function. Looking at the https://github.com/zitadel/zitadel/blob/main/packages/zitadel-client/src/node.ts, I can see that verifyJwt is implemented in the monorepo, but it's not available in the published npm package.

Current exports in @zitadel/client@1.3.1 (from npm):
  • createServerTransport
  • newSystemToken
Missing export:
  • verifyJwt
Are there plans to publish an updated version of @zitadel/client to npm that includes the verifyJwt export?
Was this page helpful?