You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gcgj-dify-1.7.0/api/configs
-LAN- 091884567a
feat: Add SMTP OAuth 2.0 support for Microsoft Exchange
Add comprehensive OAuth 2.0 authentication support for SMTP to address
Microsoft's Basic Authentication retirement in September 2025.

Key features:
- OAuth 2.0 SASL XOAUTH2 authentication mechanism
- Microsoft Azure AD integration with client credentials flow
- Backward compatible with existing basic authentication
- Comprehensive configuration options in .env.example files
- Enhanced SMTP client with dependency injection for better testability
- Complete test coverage with proper mocking

Configuration:
- SMTP_AUTH_TYPE: Choose between 'basic' and 'oauth2' authentication
- Microsoft OAuth 2.0 settings for Azure AD integration
- Automatic token acquisition using client credentials flow

Files changed:
- Enhanced SMTP client with OAuth 2.0 support
- New mail module structure under libs/mail/
- Updated configuration system with OAuth settings
- Comprehensive documentation and setup instructions
- Complete test suite for OAuth functionality

This change ensures compatibility with Microsoft Exchange Online
after Basic Authentication retirement.
9 months ago
..
deploy feat: add debug log for request and response (#19781) (#19783) 11 months ago
enterprise chore: enhance configuration descriptions (#8624) 2 years ago
extra chore: enhance configuration descriptions (#8624) 2 years ago
feature feat: Add SMTP OAuth 2.0 support for Microsoft Exchange 9 months ago
middleware enabling vector index prefix name via configuration files (#22661) 9 months ago
observability feat: add otel endpoint config (#22492) 9 months ago
packaging remove unused config CURRENT_VERSION (#21832) 9 months ago
remote_settings_sources nacos config init , and force add ts parms. (#20526) 10 months ago
__init__.py chore(api/configs): apply ruff reformat (#7590) 2 years ago
app_config.py refactor: define the Dify project version in pyproject.toml (#20910) 9 months ago