tpitale / mail_room

Forward mail from gmail IMAP to a callback URL or job worker, simply.
MIT License
193 stars 51 forks source link

Support alternative Azure deployments for Microsoft Graph #140

Closed stanhu closed 2 years ago

stanhu commented 2 years ago

Previously Microsoft Graph only worked for the default Azure deployment. However, there are currently three other national clouds supported in Azure (https://docs.microsoft.com/en-us/graph/deployments).

This commit adds support for the graph_endpoint and azure_ad_endpoint to enable support for these alternative Azure deployments.

Closes https://github.com/tpitale/mail_room/issues/139