You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Add OAUTH authentication option to SMTP servers (#1162) (#1194)
This patch leaves the auth argument to smtp_server as it is, but adds a new
token_auth block to let users configure an auth token through Terraform.
* Add OAUTH authentication option to SMTP servers
* Add tests for SMTP OAUTH
Implements #1162Fixes#1194
Signed-off-by: Lucy McPhail <[email protected]>
Copy file name to clipboardExpand all lines: docs/resources/realm.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -158,9 +158,16 @@ This block supports the following arguments:
158
158
-`envelope_from` - (Optional) The email address uses for bounces.
159
159
-`starttls` - (Optional) When `true`, enables StartTLS. Defaults to `false`.
160
160
-`ssl` - (Optional) When `true`, enables SSL. Defaults to `false`.
161
-
-`auth` - (Optional) Enables authentication to the SMTP server. This block supports the following arguments:
161
+
-`auth` - (Optional) Enables authentication to the SMTP server. Cannot be set alongside `token_auth`. This block supports the following arguments:
162
162
-`username` - (Required) The SMTP server username.
163
163
-`password` - (Required) The SMTP server password.
164
+
-`token_auth` - (Optional) Enables authentication to the SMTP server through OAUTH2. Cannot be set alongside `auth`. This block supports the following arguments:
165
+
-`username` - (Required) The SMTP server username.
166
+
-`url` - (Required) The auth token URL.
167
+
-`client_id` - (Required) The auth token client ID.
168
+
-`client_secret` - (Required) The auth token client secret.
0 commit comments