ragflow/api/apps
Chaoxi Weng e349635a3d
Feat: Add /login/channels route and improve auth logic for frontend third-party login integration (#7521)
### What problem does this PR solve?

Add `/login/channels` route and improve auth logic to support frontend
integration with third-party login providers:

- Add `/login/channels` route to provide authentication channel list
with `display_name` and `icon`
- Optimize user info parsing logic by prioritizing `avatar_url` and
falling back to `picture`
- Simplify OIDC token validation by removing unnecessary `kid` checks
- Ensure `client_id` is safely cast to string during `audience`
validation
- Fix typo

---
- Related pull request: #7379 

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
- [x] Documentation Update
2025-05-08 10:23:19 +08:00
..
auth Feat: Add /login/channels route and improve auth logic for frontend third-party login integration (#7521) 2025-05-08 10:23:19 +08:00
sdk Fix:When sharing the knowledge base of multiple tenants with one person, when this person queries the knowledge base of both tenants, they will only query the question of the first person's knowledge base (#7500) 2025-05-07 16:05:40 +08:00
__init__.py Refa: enlarge default max request body size. (#6088) 2025-03-14 15:21:08 +08:00
api_app.py Feat: Improve 'user_canvan_version' delete and 'document' delete performance (#6553) 2025-05-07 10:55:08 +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 Fix: filed_map was incorrectly persisted (#7443) 2025-05-06 09:44:38 +08:00
file2document_app.py Fix: link to KB from filemanager. (#6530) 2025-03-26 09:41:14 +08:00
file_app.py fix: After the file is deleted, it still remains in the bucket. (#7482) 2025-05-06 19:30:42 +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 /login/channels route and improve auth logic for frontend third-party login integration (#7521) 2025-05-08 10:23:19 +08:00