pingvin-share icon indicating copy to clipboard operation
pingvin-share copied to clipboard

πŸš€ Feature: OAuth authentication for SMTP

Open SparroWServ opened this issue 1 year ago β€’ 4 comments

πŸ”– 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!

SparroWServ avatar Jan 30 '25 22:01 SparroWServ

CanΒ΄t you create an app password for this? Or is that not possible anymore with outlook.com?

mdlaat avatar Feb 01 '25 12:02 mdlaat

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.

Spinnich avatar Feb 15 '25 15:02 Spinnich

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)

alexlehm avatar Feb 16 '25 09:02 alexlehm

@SparroWServ this issue should be renamed to mention Oauth for clarity please

alexlehm avatar Mar 14 '25 11:03 alexlehm