mmianlM
ZITADELβ€’2mo agoβ€’
14 replies
mmianl

Confusion about Nodejs SDKs

🏬Self-hosted❓Question❌Unsolved
I found the https://github.com/zitadel/zitadel-node SDK which claims that it can be installed with
npm install @zitadel/zitadel-node
. However, running this command returns GET https://registry.npmjs.org/@zitadel%2fzitadel-node - Not found.

The docs at https://zitadel.com/docs/sdk-examples/client-libraries/node explain that a
.npmrc
file has to be setup first, and these docs link to a repo at https://github.com/zitadel/client-nodejs which does not exist. But I assume that's supposed to be https://github.com/zitadel/zitadel-node.

Now, even with the
.npmrc
file in place, I still get 401 Unauthorized.

Then, I found that https://github.com/smartive/zitadel-node exists which - I assume - can be installed with
npm install @zitadel/node
. This SDK, however, does not seem to support the full range of APIs, or the latest API versions.

So my question is: which of these is the official SDK, how can I use it, and which APIs and versions are supported? I am looking for the Assets API (https://zitadel.com/docs/apis/assets) in particular.
Was this page helpful?