payload-zitadel-plugin 0.4.10 → 0.4.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +9 -9
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -10,7 +10,7 @@ Thus, the user collection in PayloadCMS becomes just a shadow of the information
10
10
  ## Install
11
11
 
12
12
  ```shell
13
- pnpm add payload-zitadel-plugin@0.4.10
13
+ pnpm add payload-zitadel-plugin@0.4.11
14
14
  ```
15
15
 
16
16
  ## Configuration
@@ -86,8 +86,8 @@ export default buildConfig({
86
86
  // if ZITADEL_API_CLIENT_ID was found it will look for ZITADEL_API_KEY_ID and ZITADEL_API_KEY
87
87
  /*
88
88
  api: {
89
- clientId: '123456789123456789@project_name'
90
- keyId: '123456789012345678'
89
+ clientId: '123456789123456789'
90
+ keyId: '123456789123456789'
91
91
  key: '-----BEGIN RSA PRIVATE KEY----- ... ----END RSA PRIVATE KEY-----'
92
92
  }
93
93
  */
@@ -103,9 +103,9 @@ Optionally you could use an `.env.local` file for parameters:
103
103
 
104
104
  ```dotenv
105
105
  ZITADEL_URL=https://idp.zitadel.url
106
- ZITADEL_CLIENT_ID=123456789012345678@project_name
107
- ZITADEL_API_CLIENT_ID=123456789123456789@project_name
108
- ZITADEL_API_KEY_ID=123456789012345678
106
+ ZITADEL_CLIENT_ID=123456789123456789
107
+ ZITADEL_API_CLIENT_ID=123456789123456789
108
+ ZITADEL_API_KEY_ID=123456789123456789
109
109
  ZITADEL_API_KEY='-----BEGIN RSA PRIVATE KEY----- ... ----END RSA PRIVATE KEY-----'
110
110
  ```
111
111
 
@@ -120,9 +120,9 @@ export default withPayload({
120
120
  ...,
121
121
  env: {
122
122
  ZITADEL_URL: 'https://idp.zitadel.url',
123
- ZITADEL_CLIENT_ID: '123456789012345678@project_name',
124
- ZITADEL_API_CLIENT_ID: '123456789123456789@project_name',
125
- ZITADEL_API_KEY_ID: '123456789012345678',
123
+ ZITADEL_CLIENT_ID: '123456789123456789',
124
+ ZITADEL_API_CLIENT_ID: '123456789123456789',
125
+ ZITADEL_API_KEY_ID: '123456789123456789',
126
126
  ZITADEL_API_KEY: '-----BEGIN RSA PRIVATE KEY----- ... ----END RSA PRIVATE KEY-----'
127
127
  },
128
128
  ...
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "payload-zitadel-plugin",
3
- "version": "0.4.10",
3
+ "version": "0.4.11",
4
4
  "description": "plugin for Payload CMS, which enables authentication via Zitadel IdP",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -36,19 +36,19 @@
36
36
  "dist"
37
37
  ],
38
38
  "dependencies": {
39
- "@payloadcms/next": "^3.20.0",
40
- "@payloadcms/translations": "^3.20.0",
41
- "@payloadcms/ui": "^3.20.0",
39
+ "@payloadcms/next": "^3.21.0",
40
+ "@payloadcms/translations": "^3.21.0",
41
+ "@payloadcms/ui": "^3.21.0",
42
42
  "jose": "^5.9.6",
43
43
  "next": "^15.1.6",
44
- "payload": "^3.20.0",
44
+ "payload": "^3.21.0",
45
45
  "react": "^19.0.0",
46
46
  "react-dom": "^19.0.0"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@swc/cli": "^0.6.0",
50
- "@swc/core": "^1.10.12",
51
- "@types/node": "^22.12.0",
50
+ "@swc/core": "^1.10.14",
51
+ "@types/node": "^22.13.1",
52
52
  "@types/react": "^19.0.8",
53
53
  "@types/react-dom": "^19.0.3",
54
54
  "rimraf": "^6.0.1",