Integrate newly created gem supporting Microsoft Graph API email sending into GitLab
In #369980 (closed) we will create a gem supporting Microsoft Graph API email sending. This issue is about the integration of that gem into GitLab.
To configure GitLab to deliver emails using Microsoft Graph API with OAuth 2.0 client credentials flow admins can set microsoft_graph_mailer
setting in gitlab.yml
:
# Allows delivery of emails using Microsoft Graph API with OAuth 2.0 client credentials flow.
microsoft_graph_mailer:
enabled: false
# The unique identifier for the user. To use Microsoft Graph on behalf of the user.
user_id: "YOUR-USER-ID"
# The directory tenant the application plans to operate against, in GUID or domain-name format.
tenant: "YOUR-TENANT-ID"
# The application ID that's assigned to your app. You can find this information in the portal where you registered your app.
client_id: "YOUR-CLIENT-ID"
# The client secret that you generated for your app in the app registration portal.
client_secret: "YOUR-CLIENT-SECRET-ID"
# Defaults to "https://login.microsoftonline.com".
azure_ad_endpoint:
# Defaults to "https://graph.microsoft.com".
graph_endpoint:
Edited by Bogdan Denkovych