@lobehub/chat 0.145.13 → 0.146.0
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.
- package/CHANGELOG.md +25 -0
- package/README.md +1 -1
- package/README.zh-CN.md +1 -1
- package/docs/self-hosting/advanced/authentication.mdx +3 -1
- package/docs/self-hosting/advanced/authentication.zh-CN.mdx +2 -0
- package/docs/self-hosting/advanced/sso-providers/zitadel.mdx +65 -0
- package/docs/self-hosting/advanced/sso-providers/zitadel.zh-CN.mdx +65 -0
- package/docs/self-hosting/environment-variables/auth.mdx +23 -0
- package/docs/self-hosting/environment-variables/auth.zh-CN.mdx +23 -0
- package/package.json +1 -1
- package/src/app/api/auth/sso-providers/index.ts +2 -1
- package/src/app/api/auth/sso-providers/zitadel.ts +18 -0
- package/src/config/server/app.ts +3 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,31 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog
|
|
4
4
|
|
|
5
|
+
## [Version 0.146.0](https://github.com/lobehub/lobe-chat/compare/v0.145.13...v0.146.0)
|
|
6
|
+
|
|
7
|
+
<sup>Released on **2024-04-08**</sup>
|
|
8
|
+
|
|
9
|
+
#### ✨ Features
|
|
10
|
+
|
|
11
|
+
- **misc**: Add support for ZITADEL SSO provider.
|
|
12
|
+
|
|
13
|
+
<br/>
|
|
14
|
+
|
|
15
|
+
<details>
|
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
17
|
+
|
|
18
|
+
#### What's improved
|
|
19
|
+
|
|
20
|
+
- **misc**: Add support for ZITADEL SSO provider, closes [#1904](https://github.com/lobehub/lobe-chat/issues/1904) ([44152f7](https://github.com/lobehub/lobe-chat/commit/44152f7))
|
|
21
|
+
|
|
22
|
+
</details>
|
|
23
|
+
|
|
24
|
+
<div align="right">
|
|
25
|
+
|
|
26
|
+
[](#readme-top)
|
|
27
|
+
|
|
28
|
+
</div>
|
|
29
|
+
|
|
5
30
|
### [Version 0.145.13](https://github.com/lobehub/lobe-chat/compare/v0.145.12...v0.145.13)
|
|
6
31
|
|
|
7
32
|
<sup>Released on **2024-04-07**</sup>
|
package/README.md
CHANGED
|
@@ -227,7 +227,7 @@ In addition, these plugins are not limited to news aggregation, but can also ext
|
|
|
227
227
|
| [Calendar Assistant](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **cc** on **2024-03-13**</sup> | A plugin to manage your calendar events # will auto generate i18n in workflow<br/>`calendar` `schedule` `will-auto-generate-i-18-n-in-workflow` |
|
|
228
228
|
| [TokenInsights](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **feednews** on **2024-01-27**</sup> | Get realtime crypto price, BTC, ETH, BNB, and the latest insights.The latest coin news and airdrop opportunities.<br/>`crypto` `btc` `eth` `bnb` |
|
|
229
229
|
|
|
230
|
-
> 📊 Total plugins: [<kbd>**
|
|
230
|
+
> 📊 Total plugins: [<kbd>**55**</kbd>](https://github.com/lobehub/lobe-chat-plugins)
|
|
231
231
|
|
|
232
232
|
<!-- PLUGIN LIST -->
|
|
233
233
|
|
package/README.zh-CN.md
CHANGED
|
@@ -219,7 +219,7 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
|
|
|
219
219
|
| [日历助手](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **cc** on **2024-03-13**</sup> | 一个用于管理日历事件的插件 # 将自动生成工作流程中的 i18n<br/>`日历` `日程安排` `将自动生成工作流程中的-i-18-n` |
|
|
220
220
|
| [TokenInsights](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **feednews** on **2024-01-27**</sup> | 获取实时加密货币价格,BTC,ETH,BNB 和最新见解。最新的币新闻和空投机会。<br/>`加密货币` `btc` `eth` `bnb` |
|
|
221
221
|
|
|
222
|
-
> 📊 Total plugins: [<kbd>**
|
|
222
|
+
> 📊 Total plugins: [<kbd>**55**</kbd>](https://github.com/lobehub/lobe-chat-plugins)
|
|
223
223
|
|
|
224
224
|
<!-- PLUGIN LIST -->
|
|
225
225
|
|
|
@@ -7,7 +7,8 @@ Currently supported identity verification services include:
|
|
|
7
7
|
- [Auth0](/en/self-hosting/advanced/sso-providers/auth0)
|
|
8
8
|
- [Microsoft Entra ID](/en/self-hosting/advanced/sso-providers/microsoft-entra-id)
|
|
9
9
|
- [Authentik](/en/self-hosting/advanced/sso-providers/authentik)
|
|
10
|
-
- [Github](/en/self-hosting/advanced/sso-providers/github
|
|
10
|
+
- [Github](/en/self-hosting/advanced/sso-providers/github)
|
|
11
|
+
- [ZITADEL](/en/self-hosting/advanced/sso-providers/zitadel)
|
|
11
12
|
|
|
12
13
|
Click on the links to view the corresponding platform's configuration documentation.
|
|
13
14
|
|
|
@@ -23,6 +24,7 @@ The order corresponds to the display order of the SSO providers.
|
|
|
23
24
|
| Microsoft Entra ID | `azure-ad` |
|
|
24
25
|
| Authentik | `authentik` |
|
|
25
26
|
| Github | `github` |
|
|
27
|
+
| ZITADEL | `zitadel` |
|
|
26
28
|
|
|
27
29
|
## Other SSO Providers
|
|
28
30
|
|
|
@@ -8,6 +8,7 @@ LobeChat 支持配置外部身份验证服务,供企业 / 组织内部使用
|
|
|
8
8
|
- [Microsoft Entra ID](/zh/self-hosting/advanced/sso-providers/microsoft-entra-id)
|
|
9
9
|
- [Authentik](/zh/self-hosting/advanced/sso-providers/authentik)
|
|
10
10
|
- [Github](/zh/self-hosting/advanced/sso-providers/github)
|
|
11
|
+
- [ZITADEL](/zh/self-hosting/advanced/sso-providers/zitadel)
|
|
11
12
|
|
|
12
13
|
点击链接可以查看对应平台的配置文档。
|
|
13
14
|
|
|
@@ -23,6 +24,7 @@ LobeChat 支持配置外部身份验证服务,供企业 / 组织内部使用
|
|
|
23
24
|
| Microsoft Entra ID | `azure-ad` |
|
|
24
25
|
| Authentik | `authentik` |
|
|
25
26
|
| Github | `github` |
|
|
27
|
+
| ZITADEL | `zitadel` |
|
|
26
28
|
|
|
27
29
|
## 其他 SSO 提供商
|
|
28
30
|
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# Configure ZITADEL Authentication Service
|
|
2
|
+
|
|
3
|
+
<Steps>
|
|
4
|
+
### Create ZITADEL Application
|
|
5
|
+
|
|
6
|
+
Log in to the console of your ZITADEL instance using an account with at least a [`Project Owner` role](https://zitadel.com/docs/guides/manage/console/managers#roles), navigate to (or [create](https://zitadel.com/docs/guides/manage/console/projects#create-a-project)) the project you'd like to host your application in, and click the **New** button to create an application.
|
|
7
|
+
|
|
8
|
+
<Image alt="Create ZITADEL Application S1" inStep src="https://github.com/lobehub/lobe-chat/assets/8692892/b05473ad-04a6-4ebc-9810-116c778d4448" />
|
|
9
|
+
|
|
10
|
+
Fill in the name, choose **Web** as the application type, and click **Continue**.
|
|
11
|
+
|
|
12
|
+
<Image alt="Create ZITADEL Application S2" inStep src="https://github.com/lobehub/lobe-chat/assets/8692892/5a0e6c58-9e6f-4ffb-8af2-32e48cfb45b0" />
|
|
13
|
+
|
|
14
|
+
Choose **Code** as the authentication method.
|
|
15
|
+
|
|
16
|
+
<Image alt="Create ZITADEL Application S3" inStep src="https://github.com/lobehub/lobe-chat/assets/8692892/14ecaa12-74a1-4e2f-b171-9d9ac09d3d63" />
|
|
17
|
+
|
|
18
|
+
In the **Redirect URIs** field, fill in:
|
|
19
|
+
|
|
20
|
+
```
|
|
21
|
+
http(s)://your-domain/api/auth/callback/zitadel
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
<Image alt="Create ZITADEL Application S4" inStep src="https://github.com/lobehub/lobe-chat/assets/8692892/4ff3c3a0-9ca0-45ff-8f3a-219f4445098b" />
|
|
25
|
+
|
|
26
|
+
<Callout type={'important'}>
|
|
27
|
+
- You can fill in or modify redirect URIs after creating the application, but make sure the filled URL is consistent with the deployed URL.
|
|
28
|
+
- Replace `http(s)://your-domain` with the actual URL that LobeChat is deployed to.
|
|
29
|
+
</Callout>
|
|
30
|
+
|
|
31
|
+
Confirm the configuration and click **Create**.
|
|
32
|
+
|
|
33
|
+
<Image alt="Create ZITADEL Application S5" inStep src="https://github.com/lobehub/lobe-chat/assets/8692892/bee24764-aa42-47d9-ad43-bcb8e7b35bc3" />
|
|
34
|
+
|
|
35
|
+
Save the **ClientId** and **ClientSecret** for later use.
|
|
36
|
+
|
|
37
|
+
<Image alt="Create ZITADEL Application S6" inStep src="https://github.com/lobehub/lobe-chat/assets/8692892/407b4eed-7f21-4aa6-b68f-9bae2faf09d0" />
|
|
38
|
+
|
|
39
|
+
In the application settings page, navigate to the **URLs** tab, and save the **issuer** URL.
|
|
40
|
+
|
|
41
|
+
<Image alt="Create ZITADEL Application S7" inStep src="https://github.com/lobehub/lobe-chat/assets/8692892/d12a2661-7b98-484f-8f3d-07e84d42ae08" />
|
|
42
|
+
|
|
43
|
+
### Configure Environment Variables
|
|
44
|
+
|
|
45
|
+
When deploying LobeChat, you need to configure the following environment variables:
|
|
46
|
+
|
|
47
|
+
| Environment Variable | Type | Description |
|
|
48
|
+
| ----------------------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
49
|
+
| `ENABLE_OAUTH_SSO` | Required | Enable single sign-on (SSO) for LobeChat. Set to `1` to enable single sign-on. |
|
|
50
|
+
| `NEXTAUTH_SECRET` | Required | Key used to encrypt Auth.js session tokens. You can generate a key using the following command: `openssl rand -base64 32` |
|
|
51
|
+
| `SSO_PROVIDERS` | Optional | Select the single sign-on provider for LoboChat. Use `zitadel` for ZITADEL. |
|
|
52
|
+
| `ZITADEL_CLIENT_ID` | Required | Client ID (`ClientId` as shown in ZITADEL) of the ZITADEL application |
|
|
53
|
+
| `ZITADEL_CLIENT_SECRET` | Required | Client Secret (`ClientSecret` as shown in ZITADEL) of the ZITADEL application |
|
|
54
|
+
| `ZITADEL_ISSUER` | Required | Issuer URL of the ZITADEL application |
|
|
55
|
+
| `ACCESS_CODE` | Required | Add a password to access this service. You can set a sufficiently long random password to "disable" access code authorization. |
|
|
56
|
+
| `NEXTAUTH_URL` | Optional | The URL is used to specify the callback address for the execution of OAuth authentication in Auth.js. It needs to be set only when the default address is incorrect. `https://example.com/api/auth` |
|
|
57
|
+
|
|
58
|
+
<Callout type={'tip'}>
|
|
59
|
+
You can refer to the related variable details at [📘Environment Variables](/en/self-hosting/environment-variables/auth#zitadel).
|
|
60
|
+
</Callout>
|
|
61
|
+
</Steps>
|
|
62
|
+
|
|
63
|
+
<Callout>
|
|
64
|
+
After successful deployment, users will be able to authenticate and use LobeChat using existing users configured in ZITADEL.
|
|
65
|
+
</Callout>
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# 配置 ZITADEL 身份验证服务
|
|
2
|
+
|
|
3
|
+
<Steps>
|
|
4
|
+
### 创建 ZITADEL 应用
|
|
5
|
+
|
|
6
|
+
使用具有 [`Project Owner` 角色](https://zitadel.com/docs/guides/manage/console/managers#roles)的账户登录到 ZITADEL 实例控制台,进入(或[创建](https://zitadel.com/docs/guides/manage/console/projects#create-a-project))该应用所属的项目,点击「创建」按钮创建应用。
|
|
7
|
+
|
|
8
|
+
<Image alt="创建 ZITADEL 应用 1" inStep src="https://github.com/lobehub/lobe-chat/assets/8692892/3564110d-bef9-47f3-b775-e5f28b4275b2" />
|
|
9
|
+
|
|
10
|
+
填写应用名称,应用类型选择「Web」,点击「继续」。
|
|
11
|
+
|
|
12
|
+
<Image alt="创建 ZITADEL 应用 2" inStep src="https://github.com/lobehub/lobe-chat/assets/8692892/12451b47-8dcd-40a9-b18d-2806b07efecc" />
|
|
13
|
+
|
|
14
|
+
选择「Code」作为身份验证方式。
|
|
15
|
+
|
|
16
|
+
<Image alt="创建 ZITADEL 应用 3" inStep src="https://github.com/lobehub/lobe-chat/assets/8692892/9d5cb651-ad10-47c7-8c8b-2256163c5521" />
|
|
17
|
+
|
|
18
|
+
在「重定向 URLs」字段中填写:
|
|
19
|
+
|
|
20
|
+
```
|
|
21
|
+
http(s)://your-domain/api/auth/callback/zitadel
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
<Image alt="创建 ZITADEL 应用 4" inStep src="https://github.com/lobehub/lobe-chat/assets/8692892/1699bf46-0c8d-4238-9eb5-34282bfe529a" />
|
|
25
|
+
|
|
26
|
+
<Callout type={'important'}>
|
|
27
|
+
- 可以创建应用后再填写或修改重定向 URL,但请确保填写的 URL 与部署的 URL 一致。
|
|
28
|
+
- 请将 `http(s)://your-domain` 替换为 LobeChat 部署的实际 URL。
|
|
29
|
+
</Callout>
|
|
30
|
+
|
|
31
|
+
确认配置并点击「创建」。
|
|
32
|
+
|
|
33
|
+
<Image alt="创建 ZITADEL 应用 5" inStep src="https://github.com/lobehub/lobe-chat/assets/8692892/375b3d73-6796-465c-9063-f2762093f763" />
|
|
34
|
+
|
|
35
|
+
记录下「ClientId」和「ClientSecret」备用。
|
|
36
|
+
|
|
37
|
+
<Image alt="创建 ZITADEL 应用 6" inStep src="https://github.com/lobehub/lobe-chat/assets/8692892/40bb6b4c-18e0-4ae5-abae-ae0cf202cf08" />
|
|
38
|
+
|
|
39
|
+
在应用设置页面中,切换到「URLs」选项卡,记录下「issuer」URL。
|
|
40
|
+
|
|
41
|
+
<Image alt="创建 ZITADEL 应用 7" inStep src="https://github.com/lobehub/lobe-chat/assets/8692892/79c55d44-8dcb-429c-a072-d3eb014bbceb" />
|
|
42
|
+
|
|
43
|
+
### 配置环境变量
|
|
44
|
+
|
|
45
|
+
部署 LobeChat 时,您需要配置以下环境变量:
|
|
46
|
+
|
|
47
|
+
| 环境变量 | 类型 | 描述 |
|
|
48
|
+
| ----------------------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
49
|
+
| `ENABLE_OAUTH_SSO` | 必选 | 为 LobeChat 启用单点登录(SSO)。设置为 `1` 以启用单点登录。 |
|
|
50
|
+
| `NEXTAUTH_SECRET` | 必选 | 用于加密 Auth.js 会话令牌的密钥。您可以使用以下命令生成密钥:`openssl rand -base64 32` |
|
|
51
|
+
| `SSO_PROVIDERS` | 可选 | 为 LobeChat 选择单点登录提供程序。对于 ZITADEL,请填写 `zitadel`。 |
|
|
52
|
+
| `ZITADEL_CLIENT_ID` | 必选 | ZITADEL 应用的 Client ID(`ClientId`)。 |
|
|
53
|
+
| `ZITADEL_CLIENT_SECRET` | 必选 | ZITADEL 应用的 Client Secret(`ClientSecret`)。 |
|
|
54
|
+
| `ZITADEL_ISSUER` | 必选 | ZITADEL 应用的 OpenID Connect 颁发者(issuer)URL。 |
|
|
55
|
+
| `ACCESS_CODE` | 必选 | 添加访问此服务的代码。您可以设置一个足够长的随机密码以「禁用」访问码授权。 |
|
|
56
|
+
| `NEXTAUTH_URL` | 可选 | 该 URL 用于指定 Auth.js 中执行 OAuth 认证的回调地址。仅当默认地址不正确时才需要设置。`https://example.com/api/auth` |
|
|
57
|
+
|
|
58
|
+
<Callout type={'tip'}>
|
|
59
|
+
您可以在 [📘 环境变量](/zh/self-hosting/environment-variables/auth#zitadel) 中查看相关变量的详细信息。
|
|
60
|
+
</Callout>
|
|
61
|
+
</Steps>
|
|
62
|
+
|
|
63
|
+
<Callout>
|
|
64
|
+
部署成功后,用户将能够通过 ZITADEL 中配置的用户进行身份验证并使用 LobeChat。
|
|
65
|
+
</Callout>
|
|
@@ -117,6 +117,29 @@ LobeChat provides a complete authentication service capability when deployed. Th
|
|
|
117
117
|
- Default: `-`
|
|
118
118
|
- Example: `dd262976ac0931d947e104891586a053f3d3750b`
|
|
119
119
|
|
|
120
|
+
## ZITADEL
|
|
121
|
+
|
|
122
|
+
### `ZITADEL_CLIENT_ID`
|
|
123
|
+
|
|
124
|
+
- Type: Required
|
|
125
|
+
- Description: Client ID of the ZITADEL application. This can be found under your application in the ZITADEL console.
|
|
126
|
+
- Default: `-`
|
|
127
|
+
- Example: `123456789012345678@your-project`
|
|
128
|
+
|
|
129
|
+
### `ZITADEL_CLIENT_SECRET`
|
|
130
|
+
|
|
131
|
+
- Type: Required
|
|
132
|
+
- Description: Client Secret of the ZITADEL application.
|
|
133
|
+
- Default: `-`
|
|
134
|
+
- Example: `9QF1n5ATzU7Z3mHp2Iw4gKX8kY6oR7uW1DnKcV3LqX2jF6iG3fBmJ1kV7nS5zE6A`
|
|
135
|
+
|
|
136
|
+
### `ZITADEL_ISSUER`
|
|
137
|
+
|
|
138
|
+
- Type: Required
|
|
139
|
+
- Description: Issuer of the ZITADEL application. This is usually the URL of the ZITADEL instance, and can be found in `URLs` tab of your application in the console.
|
|
140
|
+
- Default: `-`
|
|
141
|
+
- Example: `https://your-instance-abc123.zitadel.cloud`
|
|
142
|
+
|
|
120
143
|
<Callout>
|
|
121
144
|
Currently, we only support providers above. If you need to use other identity verification service
|
|
122
145
|
providers, you can submit a [feature
|
|
@@ -118,6 +118,29 @@ LobeChat 在部署时提供了完善的身份验证服务能力,以下是相
|
|
|
118
118
|
- Default: `-`
|
|
119
119
|
- Example: `dd262976ac0931d947e104891586a053f3d3750b`
|
|
120
120
|
|
|
121
|
+
## ZITADEL
|
|
122
|
+
|
|
123
|
+
### `ZITADEL_CLIENT_ID`
|
|
124
|
+
|
|
125
|
+
- 类型:必选
|
|
126
|
+
- 描述:ZITADEL 应用的 Client ID。您可以在 ZITADEL 控制台应用设置中找到 Client ID。
|
|
127
|
+
- 默认值:`-`
|
|
128
|
+
- 示例:`123456789012345678@your-project`
|
|
129
|
+
|
|
130
|
+
### `ZITADEL_CLIENT_SECRET`
|
|
131
|
+
|
|
132
|
+
- 类型:必选
|
|
133
|
+
- 描述:ZITADEL 应用的 Client Secret。
|
|
134
|
+
- 默认值:`-`
|
|
135
|
+
- 示例:`9QF1n5ATzU7Z3mHp2Iw4gKX8kY6oR7uW1DnKcV3LqX2jF6iG3fBmJ1kV7nS5zE6A`
|
|
136
|
+
|
|
137
|
+
### `ZITADEL_ISSUER`
|
|
138
|
+
|
|
139
|
+
- 类型:必选
|
|
140
|
+
- 描述:ZITADEL 应用的 OpenID Connect 颁发者(issuer),通常为 ZITADEL 实例的 URL。您可以在 ZITADEL 控制台应用设置中的 `URLs` 选项卡中找到 issuer。
|
|
141
|
+
- 默认值:`-`
|
|
142
|
+
- 示例:`https://your-instance-abc123.zitadel.cloud`
|
|
143
|
+
|
|
121
144
|
<Callout>
|
|
122
145
|
如果您需要使用其他身份验证服务提供商,可以提交
|
|
123
146
|
[功能请求](https://github.com/lobehub/lobe-chat/issues/new/choose) 或 Pull Request。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lobehub/chat",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.146.0",
|
|
4
4
|
"description": "Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"framework",
|
|
@@ -2,5 +2,6 @@ import Auth0 from './auth0';
|
|
|
2
2
|
import Authentik from './authentik';
|
|
3
3
|
import AzureAD from './azure-ad';
|
|
4
4
|
import Github from './github';
|
|
5
|
+
import Zitadel from './zitadel';
|
|
5
6
|
|
|
6
|
-
export const ssoProviders = [Auth0, Authentik, AzureAD, Github];
|
|
7
|
+
export const ssoProviders = [Auth0, Authentik, AzureAD, Github, Zitadel];
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import Zitadel from 'next-auth/providers/zitadel';
|
|
2
|
+
|
|
3
|
+
import { getServerConfig } from '@/config/server';
|
|
4
|
+
|
|
5
|
+
const { ZITADEL_CLIENT_ID, ZITADEL_CLIENT_SECRET, ZITADEL_ISSUER } = getServerConfig();
|
|
6
|
+
|
|
7
|
+
const provider = {
|
|
8
|
+
id: 'zitadel',
|
|
9
|
+
provider: Zitadel({
|
|
10
|
+
// Available scopes in ZITADEL: https://zitadel.com/docs/apis/openidoauth/scopes
|
|
11
|
+
authorization: { params: { scope: 'openid email profile' } },
|
|
12
|
+
clientId: ZITADEL_CLIENT_ID,
|
|
13
|
+
clientSecret: ZITADEL_CLIENT_SECRET,
|
|
14
|
+
issuer: ZITADEL_ISSUER,
|
|
15
|
+
}),
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export default provider;
|
package/src/config/server/app.ts
CHANGED
|
@@ -70,6 +70,9 @@ export const getAppConfig = () => {
|
|
|
70
70
|
AUTHENTIK_CLIENT_ID: process.env.AUTHENTIK_CLIENT_ID || '',
|
|
71
71
|
AUTHENTIK_CLIENT_SECRET: process.env.AUTHENTIK_CLIENT_SECRET || '',
|
|
72
72
|
AUTHENTIK_ISSUER: process.env.AUTHENTIK_ISSUER || '',
|
|
73
|
+
ZITADEL_CLIENT_ID: process.env.ZITADEL_CLIENT_ID || '',
|
|
74
|
+
ZITADEL_CLIENT_SECRET: process.env.ZITADEL_CLIENT_SECRET || '',
|
|
75
|
+
ZITADEL_ISSUER: process.env.ZITADEL_ISSUER || '',
|
|
73
76
|
NEXTAUTH_SECRET: process.env.NEXTAUTH_SECRET || '',
|
|
74
77
|
|
|
75
78
|
ENABLE_LANGFUSE: process.env.ENABLE_LANGFUSE === '1',
|