-
Notifications
You must be signed in to change notification settings - Fork 15
Description
We tried during our setup to configure Office 365 for sending mails via the cloud service but apparently they are moving away from basic auth and moving to oauth based smtp security (https://techcommunity.microsoft.com/blog/exchange/exchange-online-to-retire-basic-auth-for-client-submission-smtp-auth/4114750)
they have documentation on their new way of authenticating which might be implemented by other email vendors in near future as they move away from basic auth with smtp
This requires adding support for SASL XOAUTH2
AUTHENTICATE XOAUTH2
and the format is
base64("user=" + userName + "^Aauth=Bearer " + accessToken + "^A^A")
Workaround
You can use https://learn.microsoft.com/en-us/azure/communication-services/quickstarts/email/send-email-smtp/smtp-authentication to get SMTP credentials compatible with FusionAuth.