open-webui/backend/open_webui
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
..
data refac: mv backend files to /open_webui dir 2024-09-04 16:54:48 +02:00
internal refactor: format 2025-08-10 22:28:31 +08:00
migrations feat: server-side OAuth token management system 2025-09-08 18:05:43 +04:00
models refac 2025-09-08 18:09:01 +04:00
retrieval refac 2025-09-01 14:27:20 +04:00
routers refac 2025-09-08 19:53:44 +04:00
socket refac 2025-08-28 13:25:48 +04:00
static refac 2025-08-10 00:02:58 +04:00
storage refac/fix: s3 checksum validation 2025-08-21 12:44:16 +04:00
test chore: format, lint 2025-07-16 15:23:18 +09:00
utils feat: add Feishu OAuth integration 2025-09-12 14:09:32 +08:00
__init__.py Update __init__.py 2025-04-15 09:55:35 +02:00
alembic.ini fix: Alembic CLI commands from failing 2025-08-15 04:17:47 -04:00
config.py feat: add Feishu OAuth integration 2025-09-12 14:09:32 +08:00
constants.py feat: follow ups 2025-06-03 18:07:29 +04:00
env.py feat: server-side OAuth token management system 2025-09-08 18:05:43 +04:00
functions.py refac 2025-09-08 18:50:23 +04:00
main.py refac 2025-09-08 18:50:23 +04:00
tasks.py fix: fix error when stopping non-existent task 2025-09-04 16:52:19 +08:00