From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Roland Winkler" Newsgroups: gmane.emacs.devel Subject: Re: oauth2 support for Emacs email clients Date: Tue, 10 Aug 2021 09:18:45 -0500 Message-ID: <877dgtfkmy.fsf@gnu.org> References: <52589.36892.953561.24840@gargle.gargle.HOWL> <87pmuofpai.fsf@gnu.org> <87sfzk71xw.fsf@randomsample> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40171"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Cc: Richard Stallman , David Engster , Emacs developers To: Tim Cross Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Aug 10 16:19:30 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mDSbJ-000AJi-Tt for ged-emacs-devel@m.gmane-mx.org; Tue, 10 Aug 2021 16:19:29 +0200 Original-Received: from localhost ([::1]:35276 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mDSbI-0005mx-QY for ged-emacs-devel@m.gmane-mx.org; Tue, 10 Aug 2021 10:19:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52954) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDSaj-00053S-7E for emacs-devel@gnu.org; Tue, 10 Aug 2021 10:18:53 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:50848) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mDSai-0008Vw-0a; Tue, 10 Aug 2021 10:18:52 -0400 Original-Received: from [2600:1700:5650:f790::42] (port=44012 helo=regnitz) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDSab-00016K-Uq; Tue, 10 Aug 2021 10:18:46 -0400 In-Reply-To: (Tim Cross's message of "Tue, 10 Aug 2021 16:08:56 +1000") X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:272277 Archived-At: On Tue, Aug 10 2021, Tim Cross wrote: > I guess it would be possible - at least for the GNU Mailutils version > (not the Emacs version as it does not support imap or encrypted > POP3). However, I guess it would also involve adding a whole HTTP > request library and an Oauth2 library to obtain authentication/refresh > tokens. This is of course assuming that MS does allow an application > ID to be used with IMAP (to be confirmed).=A0 > > This also only helps with MS Office365/Outlook access - it doesn't > help with Gmail or any other provider who transitions to nly support > Oauth2. I am not sure I understand the last statement. My organizations only allow its users to access their Office365 mail accounts via OAuth2 (and multi-factor authentication). However, the way this requirement is implemented, a tool like davmail is able to perform the necessary steps so that locally you can use any IMAP client you like. What is different here regarding what Gmail is aiming for?