ZITADELZZITADEL
Powered by
gloammerG
ZITADELβ€’2mo agoβ€’
17 replies
gloammer

Update @zitadel/client npm package

🏬Self-hosted❓Questionβœ…Solved
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";
// 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?
ZITADEL banner
ZITADELJoin
ZITADEL - Identity infrastructure, simplified for you.
4,374Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Go Zitadel Client
JoseSzychoJJoseSzycho / questions-help-bugs
9mo ago
Which to use: @zitadel/node or @zitadel/client
pbechlivPpbechliv / questions-help-bugs
13mo ago