2.0.8 • Published 30 days ago

@zitadel/node v2.0.8

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
30 days ago

ZITADEL Node.js

This is the ZITADEL Node.js SDK.

This library contains the compiled and generated gRPC service clients for the ZITADEL API.

Also it contains helpers to create the service clients to access the API. With two MetadataProvider (accessTokenProvider and serviceAccountProvider), the clients can be created with the correct authentication already in place.

Head over to the examples to see implementation examples.

This library allows you to use the ZITADEL API in Node.js, it is not compatible with the browser since it requires gRPC (and not gRPC-Web). Furthermore, the library heavily relies on openidconnect and crypto implementations since it handles RSA keys.

This library does not provide authentication helpers for web applications. If you want to use passport js and OAuth 2.0 introspection, head over to node-passport-zitadel.

## Goals

This is the "client library" for the ZITADEL API. It contains the compiled proto files from the original ZITADEL repository and therefore helps to access the API and manage ressources. Also, it contains helpers to authenticate a given service account against ZITADEL.

To summarize:

  • Provide compiled proto clients
  • Manage resources via proto clients (e.g. OrganizationServiceClient, SessionServiceClient)
  • Allow authentication of a service account (fetch a token that can be sent)

Non-Goals

In contrast to the goals of this package, this package does not provide means to check for authentication of a user. There exists a multitude of frameworks that can be used in conjunction with NodeJS. Therefore, you need to use specific framework packages to support authentication.

Known packages:

Development

To enhance this library or to fix a bug, you need to do the following:

  1. Clone the repository
  2. Install the dependencies with npm install
  3. Install the submodules with git submodule update --init --recursive
  4. Generate the gRPC types with npm run build:grpc

Then you can start developing with npm run dev. The production build can be made with npm run build and the tests run with npm test.

2.0.8

30 days ago

2.0.7

2 months ago

2.0.6

2 months ago

2.0.5

2 months ago

2.0.4

2 months ago

2.0.3

3 months ago

2.0.2

3 months ago

2.0.1

3 months ago

2.0.0

3 months ago

1.1.122

3 months ago

1.1.121

4 months ago

1.1.120

4 months ago

1.1.119

4 months ago

1.1.118

4 months ago

1.1.117

4 months ago

1.1.116

4 months ago

1.1.115

4 months ago

1.1.114

5 months ago

1.1.113

5 months ago

1.1.100

7 months ago

1.1.108

6 months ago

1.1.107

6 months ago

1.1.106

6 months ago

1.1.105

6 months ago

1.1.104

7 months ago

1.1.103

7 months ago

1.1.102

7 months ago

1.1.101

7 months ago

1.1.92

8 months ago

1.1.91

9 months ago

1.1.90

10 months ago

1.1.96

7 months ago

1.1.95

8 months ago

1.1.94

8 months ago

1.1.93

8 months ago

1.1.99

7 months ago

1.1.98

7 months ago

1.1.97

7 months ago

1.1.109

6 months ago

1.1.111

6 months ago

1.1.110

6 months ago

1.1.112

5 months ago

1.1.89

10 months ago

1.1.88

10 months ago

1.1.78

1 year ago

1.1.79

1 year ago

1.1.81

1 year ago

1.1.80

1 year ago

1.1.85

1 year ago

1.1.84

1 year ago

1.1.83

1 year ago

1.1.82

1 year ago

1.1.87

1 year ago

1.1.86

1 year ago

1.1.70

1 year ago

1.1.74

1 year ago

1.1.73

1 year ago

1.1.72

1 year ago

1.1.71

1 year ago

1.1.77

1 year ago

1.1.76

1 year ago

1.1.75

1 year ago

1.1.41

1 year ago

1.1.40

1 year ago

1.1.45

1 year ago

1.1.44

1 year ago

1.1.43

1 year ago

1.1.42

1 year ago

1.1.49

1 year ago

1.1.48

1 year ago

1.1.47

1 year ago

1.1.46

1 year ago

1.1.52

1 year ago

1.1.51

1 year ago

1.1.50

1 year ago

1.1.56

1 year ago

1.1.55

1 year ago

1.1.54

1 year ago

1.1.53

1 year ago

1.1.59

1 year ago

1.1.58

1 year ago

1.1.57

1 year ago

1.1.63

1 year ago

1.1.62

1 year ago

1.1.61

1 year ago

1.1.60

1 year ago

1.1.67

1 year ago

1.1.66

1 year ago

1.1.65

1 year ago

1.1.64

1 year ago

1.1.69

1 year ago

1.1.68

1 year ago

1.1.39

1 year ago

1.1.38

1 year ago

1.1.37

1 year ago

1.1.36

1 year ago

1.1.35

1 year ago

1.1.34

1 year ago

1.1.33

1 year ago

1.1.32

1 year ago

1.1.31

1 year ago

1.1.30

1 year ago

1.1.29

1 year ago

1.1.28

1 year ago

1.1.27

1 year ago

1.1.26

1 year ago

1.1.25

1 year ago

1.1.24

1 year ago

1.1.23

1 year ago

1.1.22

1 year ago

1.1.21

1 year ago

1.1.20

1 year ago

1.1.19

1 year ago

1.1.18

1 year ago

1.1.17

1 year ago

1.1.16

1 year ago

1.1.15

1 year ago

1.1.14

1 year ago

1.1.13

1 year ago

1.1.12

1 year ago

1.1.11

1 year ago

1.1.10

1 year ago

1.1.9

1 year ago

1.1.8

1 year ago

1.1.7

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago