Replies: 6 comments 10 replies
-
|
It's not planned and I'm not sure if it makes sense for a server side app to use it (even if the For Google/Gmail the SMTP-Configuration page already asserts that it can't be used without creating an app password because they force the use of two-factor authentication. I think Microsoft only requires an app password if you have enabled two factor authentication (cf. #3521 (reply in thread)), so this should probably be mentioned as well. |
Beta Was this translation helpful? Give feedback.
-
|
To add some context here. Google Workspace admins received this email 2 days ago reiterating the plan and dates for removing Starting September 30, 2024, Google Workspace accounts will only allow access to apps using OAuth. Password-based access (with the exception of App Passwords) will no longer be supported. POP and IMAP are NOT going away and can still be enabled with apps that connect using OAuth.Dear Administrator, We’re writing to remind you that as we previously shared in this [blog post] and in an email sent in mid-January, we’ll be turning off access to less secure apps (LSA) — non-Google apps that can access Google accounts with only a username and password (basic authentication) — starting June 15, 2024. Access through basic authentication makes accounts more vulnerable to hijacking attempts. Moving forward, only apps that support a more modern and secure access method called OAuth will be able to access Google Workspace accounts. Access to LSAs will be turned off in two stages: What do you need to do? In order for your end users to continue using these types of apps with their Google Workspace accounts, they must switch to a more secure type of access called OAuth (a list of affected users is attached). This authentication method allows apps to access accounts with a digital key instead of requiring a user to reveal their username and password. We recommend that you share the user instructions (in this PDF file) with individuals in your organization to help them make the necessary changes. Alternatively, if your organization is using custom tools, you can ask the developer of the tool to update it to use OAuth. Developer instructions are also [in this PDF file]. If your organization uses a mobile device management (MDM) provider to configure IMAP, CalDAV CardDAV, or POP profiles, these services will be phased out according to the timeline below: Other less secure apps |
Beta Was this translation helpful? Give feedback.
-
|
UPDATE: Microsoft has just announced that they will remove basic auth all together: |
Beta Was this translation helpful? Give feedback.
-
|
+1 for this feature |
Beta Was this translation helpful? Give feedback.
-
|
Google Workspace "app passwords" are also on their deathbed. Normally for server-side apps, you would either just provide a little "authorize email" flow from the admin UI to generate the access token, or you just leave it as a config and give users some basic directions around specific tools to generate the tokens. The problem with supporting this natively in any serverside app is that while SMTP is fairly generic, oauth for SMTP is not...because the app needs to be aware of things like what scopes/permissions are needed on google vs microsoft vs _____ in order to have the oauth token grant the permissions needed. There are also things like requirement for a google developer project to be created to manage the oauth integration which has a bunch of hoops associated with it (for self hosting, individual hosters need to setup their own google projects for oauth). So supporting oauth for SMTP has to be done per platform (google, microsoft, etc) rather than once for all platforms. ...unless there is a shortcut I'm missing. |
Beta Was this translation helpful? Give feedback.
-
|
@mattpr Agreed, this is why I think having OAuth support for GMail and Microsoft Outlook would be sufficient in this case. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I've just spent several hours trying to set up Vaultwarden SMTP to work with my Microsoft 365 service. Tbf it was mostly due to Microsoft's settings being spread across many websites, docs etc., but the main takeaway is that they disable basic authentication methods by default and consider them obsolete. I've read that Google does the same and I have to say that I would also feel better without storing my password in plain text in an .env file.
I checked the meta feature issue and I did not see supporting
XOauth2auth method being listed, neither did I see any doc page in the wiki on how to use it. Is this feature planned?Beta Was this translation helpful? Give feedback.
All reactions