π Feature: OAuth authentication for SMTP
π Feature description
When using the SMTP function, I can not use the function due to this error that I read up on from Microsoft: "Outlook.com requires the use of Modern Auth / OAuth2." ~ Microsoft Is there a way to add this needed authentication into the website?
Here is the error from my tests: "Authentication unsuccessful, basic authentication is disabled." It is a personal made account, since it is a small homelab email that I use it for family and friends.
π€ Pitch
In my use case, I need a way to authenticate the smtp server with outlook.com in order to be able to use the smtp function. Since it was a function, I thought it was best to use as a "feature prompt" since it isn't a problem for all smtp servers. I apologize if that wasn't the correct way to categorize it. Thank you for your time!
CanΒ΄t you create an app password for this? Or is that not possible anymore with outlook.com?
I'm not exactly sure how this works for personal accounts in Microsoft, but within Entra you need to set a conditional access policy to allow basic authentication to your SMTP account and disable 2FA if that is a default requirement in your tenant.
This depends on the support of the SMTP library used, if that does not have Oauth support, it will not be possible
I have tried my company Outlook account, it does not have App passwords for example, this is configured by the policy the company has set (so I assume it will be disabled most of the time)
@SparroWServ this issue should be renamed to mention Oauth for clarity please