ragflow/api
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
..
apps Feat: Add support for OAuth2 and OpenID Connect (OIDC) authentication (#7379) 2025-04-28 16:15:52 +08:00
db [BREAKING CHANGE] GET to POST: enhance document list capability (#7349) 2025-04-27 16:48:27 +08:00
utils Fix: tenant_id spelling error. (#7331) 2025-04-27 17:34:13 +08:00
__init__.py Update comments (#4569) 2025-01-21 20:52:28 +08:00
constants.py Add more web test cases (#3702) 2024-11-28 15:46:35 +08:00
ragflow_server.py Fix update_progress issue (#6992) 2025-04-14 10:23:13 +08:00
settings.py Feat: Add support for OAuth2 and OpenID Connect (OIDC) authentication (#7379) 2025-04-28 16:15:52 +08:00
validation.py Fix errors detected by Ruff (#3918) 2024-12-08 14:21:12 +08:00
versions.py Fix VERSION 2024-12-07 16:56:34 +08:00