ragflow/api/apps
Chaoxi Weng 3a43043c8a
Feat: Add support for OAuth2 and OpenID Connect (OIDC) authentication (#7379)
### What problem does this PR solve?

Add support for OAuth2 and OpenID Connect (OIDC) authentication,
allowing OAuth/OIDC authentication using the specified routes:
- `/login/<channel>`: Initiates the OAuth flow for the specified channel
- `/oauth/callback/<channel>`: Handles the OAuth callback after
successful authentication

The callback URL should be configured in your OAuth provider as:
```
https://your-app.com/oauth/callback/<channel>
```

For detailed instructions on configuring **service_conf.yaml.template**,
see: `./api/apps/auth/README.md#usage`.

- Related issues
#3495  

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
- [x] Documentation Update
2025-04-28 16:15:52 +08:00
..
auth Feat: Add support for OAuth2 and OpenID Connect (OIDC) authentication (#7379) 2025-04-28 16:15:52 +08:00
sdk Fix:Update chat assistant with an empty dataset (#7354) 2025-04-28 15:19:21 +08:00
__init__.py Refa: enlarge default max request body size. (#6088) 2025-03-14 15:21:08 +08:00
api_app.py [BREAKING CHANGE] GET to POST: enhance document list capability (#7349) 2025-04-27 16:48:27 +08:00
canvas_app.py Feat: add agent share team viewer (#6222) 2025-03-19 19:04:13 +08:00
chunk_app.py Code refactor (#5371) 2025-02-26 15:40:52 +08:00
conversation_app.py Refa: enhancement: enhance the prompt of related_question API (#6463) 2025-03-25 10:00:10 +08:00
dialog_app.py Support chat solo. (#5218) 2025-02-21 12:24:02 +08:00
document_app.py [BREAKING CHANGE] GET to POST: enhance document list capability (#7349) 2025-04-27 16:48:27 +08:00
file2document_app.py Fix: link to KB from filemanager. (#6530) 2025-03-26 09:41:14 +08:00
file_app.py Feat: improve '/mv' '/list' API performance (#6502) 2025-03-25 16:30:25 +08:00
kb_app.py DOC: Miscellaneous UI and editorial updates (#7324) 2025-04-27 11:44:08 +08:00
langfuse_app.py Feat: add project_id and project_name to Langfuse API (#6481) 2025-03-25 10:36:34 +08:00
llm_app.py Fix: Hunyuan model adding error. (#6531) 2025-03-26 10:33:33 +08:00
system_app.py Feat: Add user registration toggle feature (#6327) 2025-03-21 09:38:15 +08:00
tenant_app.py Update team invite message (#4085) 2024-12-18 14:20:09 +08:00
user_app.py Feat: Add support for OAuth2 and OpenID Connect (OIDC) authentication (#7379) 2025-04-28 16:15:52 +08:00