@lobehub/chat 1.97.8 → 1.97.9
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
CHANGED
@@ -2,6 +2,31 @@
|
|
2
2
|
|
3
3
|
# Changelog
|
4
4
|
|
5
|
+
### [Version 1.97.9](https://github.com/lobehub/lobe-chat/compare/v1.97.8...v1.97.9)
|
6
|
+
|
7
|
+
<sup>Released on **2025-07-10**</sup>
|
8
|
+
|
9
|
+
#### 💄 Styles
|
10
|
+
|
11
|
+
- **misc**: Integrate Amazon Cognito for user authentication.
|
12
|
+
|
13
|
+
<br/>
|
14
|
+
|
15
|
+
<details>
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
17
|
+
|
18
|
+
#### Styles
|
19
|
+
|
20
|
+
- **misc**: Integrate Amazon Cognito for user authentication, closes [#7472](https://github.com/lobehub/lobe-chat/issues/7472) ([56f4e98](https://github.com/lobehub/lobe-chat/commit/56f4e98))
|
21
|
+
|
22
|
+
</details>
|
23
|
+
|
24
|
+
<div align="right">
|
25
|
+
|
26
|
+
[](#readme-top)
|
27
|
+
|
28
|
+
</div>
|
29
|
+
|
5
30
|
### [Version 1.97.8](https://github.com/lobehub/lobe-chat/compare/v1.97.7...v1.97.8)
|
6
31
|
|
7
32
|
<sup>Released on **2025-07-10**</sup>
|
package/changelog/v1.json
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@lobehub/chat",
|
3
|
-
"version": "1.97.
|
3
|
+
"version": "1.97.9",
|
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",
|
@@ -326,7 +326,7 @@
|
|
326
326
|
"dotenv": "^16.5.0",
|
327
327
|
"dpdm-fast": "^1.0.7",
|
328
328
|
"drizzle-dbml-generator": "^0.10.0",
|
329
|
-
"drizzle-kit": "^0.
|
329
|
+
"drizzle-kit": "^0.31.0",
|
330
330
|
"eslint": "^8.57.1",
|
331
331
|
"eslint-plugin-mdx": "^3.4.2",
|
332
332
|
"fake-indexeddb": "^6.0.1",
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import Cognito from 'next-auth/providers/cognito';
|
2
|
+
|
3
|
+
const provider = {
|
4
|
+
id: 'cognito',
|
5
|
+
provider: Cognito({
|
6
|
+
clientId: process.env.AUTH_COGNITO_ID,
|
7
|
+
clientSecret: process.env.AUTH_COGNITO_SECRET,
|
8
|
+
issuer: process.env.AUTH_COGNITO_ISSUER,
|
9
|
+
}),
|
10
|
+
};
|
11
|
+
|
12
|
+
export default provider;
|
@@ -12,6 +12,7 @@ import Logto from './logto';
|
|
12
12
|
import MicrosoftEntraID from './microsoft-entra-id';
|
13
13
|
import WeChat from './wechat';
|
14
14
|
import Zitadel from './zitadel';
|
15
|
+
import Cognito from "./cognito";
|
15
16
|
|
16
17
|
export const ssoProviders = [
|
17
18
|
Auth0,
|
@@ -28,4 +29,5 @@ export const ssoProviders = [
|
|
28
29
|
WeChat,
|
29
30
|
Keycloak,
|
30
31
|
Google,
|
32
|
+
Cognito
|
31
33
|
];
|