open-webui/backend/open_webui/utils
Xie Yanbo ee82439e67 feat: add Feishu OAuth integration
Implement Feishu OAuth provider using standard client:
- Set up Feishu-specific endpoints for authorization, token, and userinfo
- Use user_id as sub claim for Feishu user identification
- Extract correct user information from nested 'data' field in Feishu responses

Configuration requirements:
- Set FEISHU_CLIENT_ID and FEISHU_CLIENT_SECRET environment variables to enable Feishu OAuth
- Set ENABLE_OAUTH_SIGNUP=true to allow automatic user creation after OAuth login
- Set DEFAULT_USER_ROLE=user to grant immediate access after OAuth registration
- Set OAUTH_MERGE_ACCOUNTS_BY_EMAIL=true to enable merging of existing user accounts with matching emails
2025-09-12 14:09:32 +08:00
..
images fix max seed for comfyui 2025-02-08 01:10:18 +07:00
telemetry feat/enh: ENABLE_OTEL_TRACES granular otel support 2025-08-20 23:03:12 +04:00
access_control.py perf: fix N+1 query issue in tools access control checking 2025-09-03 05:49:53 +09:00
audit.py Fix audit get_current_user 2025-08-10 02:10:00 +02:00
auth.py refac 2025-09-08 18:17:11 +04:00
chat.py fix: action reserved user param 2025-06-18 10:50:49 +04:00
code_interpreter.py chore: format 2025-05-10 19:00:01 +04:00
embeddings.py refac: embeddings endpoint 2025-06-05 00:37:31 +04:00
filter.py refac 2025-05-28 01:41:49 +04:00
logger.py chore: format 2025-08-06 14:27:58 +04:00
middleware.py refac 2025-09-08 18:50:23 +04:00
misc.py refac 2025-08-17 04:06:16 +04:00
models.py refac/fix: base model cache 2025-07-07 11:30:27 +04:00
oauth.py feat: add Feishu OAuth integration 2025-09-12 14:09:32 +08:00
payload.py enh: custom reasoning tags 2025-08-27 17:24:16 +04:00
pdf_generator.py chore: remove unnecessary Path conversions 2025-03-04 19:53:52 +02:00
plugin.py fix: None Type tool installation during startup 2025-08-20 23:58:08 +04:00
redis.py enh/refac: redis cluster support 2025-08-04 14:15:08 +04:00
response.py fix: ollama tool call 2025-07-18 06:11:53 +08:00
security_headers.py chore: format 2024-11-30 23:36:30 -08:00
task.py refac 2025-08-21 04:46:43 +04:00
tools.py refac 2025-09-08 19:53:44 +04:00
webhook.py refac: async webhook request 2025-08-15 00:07:02 +04:00