influxdata / influxdata/kapacitor
[Feature Reqeust] Add OAuth2 support when authenticating with SMTP servers.
- Dominant language
- Go
- Stars
- 2.4k
- Forks
- 479
- Avg merge
- 4d 16h
- Merged PRs (30d)
- 4
Description
Currently I'm using this kapacitor config file.
[smtp]
enabled = true
host = "smtp.gmail.com"
port = 465
username = "gmail_ID"
password = "gmail_pass"
no-verify = true
global = false
state-changes-only = false
smtp_use_tls = true
smtp_tls_security_level=encrypt
from = "gmail_ID"
to = ["recv_ID"]
idle-timeout = "30s"
This works when I Turn on Access for less secure apps in gmail. But I don't want the user to have to Turn on this access. To use gmail without Turning on Access for less secure apps, I have to implement oauth2 in it.
Is there any way to do this directly in kapacitor?
Contributor guide
Research direction
No repository files or tests are named. Start by locating Kapacitor's SMTP configuration and authentication flow, then determine how OAuth2 credentials would be configured and used; done means Gmail SMTP can authenticate with OAuth2 without requiring less secure apps.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- authentication, backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100