mirror of
https://github.com/lobehub/lobehub
synced 2026-04-21 17:47:27 +00:00
* ✨ feat: adding OAuth2 support * 🐛 fix: translation for OAuth2 * ♻️ refactor: refactor OAuth 2.0 - clean up code under /api/openai - update middleware.ts to use custom middleware - clean up unnessary type definitions * ♻️ refactor(config): Use server config to enable/disable OAuth 2.0 * 🐛 fix: Adapt OAuth 2.0 middleware to new authentication methods * 📝 docs(config): Environment variables for Authentication Service Providers * 📝 docs: Add authentication setup guides for LobeChat docs: Add authentication setup guides for LobeChat ``` Added detailed documentation for setting up the authentication services in LobeChat, with a focus on integrating Auth0. This includes guides for creating an Auth0 application, adding users, and configuring environment variables. Advanced topics cover connecting to existing single sign-on services and setting up social logins. This effort enhances the platform's security and provides clear instructions for enterprise users on authentication procedures. * 📝 docs: Add authentication integration guide for LobeChat docs: Add authentication integration guide with Auth.js Adds a comprehensive guide on integrating a new authentication provider using Auth.js in both English and Chinese documentation. The guide includes pre-requisites, step-by-step code integration, server configuration updates, frontend changes, and environment variable setup. ``` The changes introduce a new guide in the documentation for integrating new authentication providers using Auth.js. The guide is provided in both English and Chinese, ensuring broad accessibility. It covers the necessary pre-requisites, detailed instructions for adding the core authentication code, updating server configuration, modifying frontend components, and setting up the required environment variables. This will aid developers in implementing authentication features using Auth.js in the LobeChat application.
46 lines
959 B
JSON
46 lines
959 B
JSON
{
|
|
"$schema": "https://json.schemastore.org/tsconfig",
|
|
"compilerOptions": {
|
|
"target": "ESNext",
|
|
"lib": ["dom", "dom.iterable", "esnext"],
|
|
"allowJs": true,
|
|
"skipLibCheck": true,
|
|
"strict": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"noEmit": true,
|
|
"esModuleInterop": true,
|
|
"module": "esnext",
|
|
"moduleResolution": "node",
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"jsx": "preserve",
|
|
"incremental": true,
|
|
"baseUrl": ".",
|
|
"types": ["vitest/globals"],
|
|
"paths": {
|
|
"@/*": ["./src/*"],
|
|
"~test-utils": ["./tests/utils.tsx"]
|
|
},
|
|
"plugins": [
|
|
{
|
|
"name": "next"
|
|
}
|
|
]
|
|
},
|
|
"exclude": ["node_modules"],
|
|
"include": [
|
|
"next-env.d.ts",
|
|
"vitest.config.ts",
|
|
"src",
|
|
"tests",
|
|
"**/*.ts",
|
|
"**/*.d.ts",
|
|
"**/*.tsx",
|
|
".next/types/**/*.ts"
|
|
],
|
|
"ts-node": {
|
|
"compilerOptions": {
|
|
"module": "commonjs"
|
|
}
|
|
}
|
|
}
|