alerting icon indicating copy to clipboard operation
alerting copied to clipboard

Add OAuth2 (Modern Authentication) Support for SMTP/Email Notifications

Open Mmefko opened this issue 5 months ago • 0 comments

Why is this needed:

Many email providers are phasing out Basic Authentication (username + password) in favor of Modern Authentication (OAuth2). For example, Microsoft is deprecating Basic Auth for Exchange Online. Without OAuth2 support, users relying on SMTP email notifications may lose functionality when Basic Auth is disabled.

Some initial work appears to have been done (grafana/alerting#355), but this does not currently include support for email notifications.

What would you like to be added:

Implement OAuth2 (Modern Authentication) support for SMTP/Email in addition to the existing Basic Auth mechanism.

Who is this feature for?

All users who rely on email notifications and need to comply with providers requiring OAuth2 authentication.

Mmefko avatar Aug 11 '25 14:08 Mmefko