From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tim Cross Newsgroups: gmane.emacs.devel Subject: Re: gmail+imap+smtp (oauth2) Date: Fri, 06 May 2022 10:37:56 +1000 Message-ID: <875ymjsd9m.fsf@gmail.com> References: <871qxbdulc.fsf@mat.ucm.es> <877d72nf3h.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32453"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.7.13; emacs 28.1.50 Cc: Thomas Fitzsimmons , jostein@kjonigsen.net, emacs-devel@gnu.org To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri May 06 02:42:55 2022 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 1nmm3b-0008C2-24 for ged-emacs-devel@m.gmane-mx.org; Fri, 06 May 2022 02:42:55 +0200 Original-Received: from localhost ([::1]:50174 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nmm3Z-0001kp-MW for ged-emacs-devel@m.gmane-mx.org; Thu, 05 May 2022 20:42:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52168) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmm2p-0000LJ-At for emacs-devel@gnu.org; Thu, 05 May 2022 20:42:07 -0400 Original-Received: from mail-pl1-x62a.google.com ([2607:f8b0:4864:20::62a]:36546) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nmm2m-0002VK-Ri; Thu, 05 May 2022 20:42:06 -0400 Original-Received: by mail-pl1-x62a.google.com with SMTP id j14so5931447plx.3; Thu, 05 May 2022 17:42:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version; bh=sGiDjqTLh7RODJ0n1mnINyeVoMOHEwKs2g0hbg23TcM=; b=SiWAk3FQeW74Q7kIlINc/hGXc93zIEWYP+sR3cYzFDeulBC/qFjqBDMpxWNf2dUbRU RWFaUOjrAMkk8W4akCvbqPMS8spmQ3oXgAHIFApR7NzoK10HwbJkiFZcv4UegykupBKv yU7d6oYil8/S9mfY2aEJZ6ASYvWBETjuFWjdDzUqh9pEvNMdI1f1BuYLRMEnRS+A8QGQ aRrndWZmHgB8IKr4wuVtTO8BUpa/td1ppbjv9VdQtSFTty+sOXh57MtCIt//WMgT/87V yTvSSF9zFTMIZpOStAsADhF3CBlHulqQuX9vcaPP79hwPMA0ie1azUq5LxCzOfkqfnKY racw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:cc:subject:date :in-reply-to:message-id:mime-version; bh=sGiDjqTLh7RODJ0n1mnINyeVoMOHEwKs2g0hbg23TcM=; b=JZywm2K+LnYgpnOXAbK4sznlMKzP0HOa4XnEWcEHLHRn+2UfyO+piRwJG0wopyvBBK xtS/J3zhHVJG5L4/SvQahIbH1CBxRE/xHYFUQzR7Ek73yKuAT/MWW1Mv9/rWj/MSGcgn v0AziSMTaPEbuIsSolnk2zDfDMsKNqti11kbNhtAPUrqbyB7HPn9WNzDytk01DKSfkzQ Fe+sPNzzMfanpXOp4es+rjqvQrxx0I3KEvzdsQvtDFFYmecgWhGPVjlDiyNBZIyFLClp kJNMeWCTQuIdDEaL8Z0BL1Fq50Ix9tcFApNEY2v0YWO392QXUDycan88XrDaAX+/7G2S HPdg== X-Gm-Message-State: AOAM533DMeVPwbYNnFgO/X+EbKY/WWFjtqcVv0IpKniWE211FhXfv/U+ M4RsFWFXaU8JIiNRMbxEwa9BUxogEtA= X-Google-Smtp-Source: ABdhPJz4+PcOmBT0hQyeOzo1zS53bp4DJEnLhOJrT5LMI/BwX8O0cCUfhUrGnOoKoeeH7Mm4GSweHQ== X-Received: by 2002:a17:902:7293:b0:15e:a7b6:4dd1 with SMTP id d19-20020a170902729300b0015ea7b64dd1mr915207pll.97.1651797722389; Thu, 05 May 2022 17:42:02 -0700 (PDT) Original-Received: from dingbat (220-235-29-41.dyn.iinet.net.au. [220.235.29.41]) by smtp.gmail.com with ESMTPSA id n184-20020a6227c1000000b0050dc7628187sm2054611pfn.97.2022.05.05.17.41.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 May 2022 17:42:01 -0700 (PDT) In-reply-to: Received-SPF: pass client-ip=2607:f8b0:4864:20::62a; envelope-from=theophilusx@gmail.com; helo=mail-pl1-x62a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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:289290 Archived-At: Richard Stallman writes: > [[[ To any NSA and FBI agents reading my email: please consider ]]] > [[[ whether defending the US Constitution against all enemies, ]]] > [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > > One issue with OAuth2 schemes is that they periodically force the user > > through a web-browser-only authentication process that requires non-free > > JavaScript, in order to get a refresh token. > > Is there any disagreement about whether Gmail requires this? > > If it does, is it a requirement of Oauth2, or only specifically of Gmail? It is not a requirement of oauth2. It is part of Google's implementation. As to whether it is the only mechanism available to get the necessary token, I don't know. Someone would need to dig into Google's API. I suspect there are other API based methods as there are 3rd party apps which use google oauth2 and don't require the user to use Google's web interface. I don't know if google has any restrictions on accessing the API (such as being registered or approved).