Gnus development mailing list
 help / color / mirror / Atom feed
From: Florian Weimer <fw@deneb.enyo.de>
To: David Engster <deng@randomsample.de>
Cc: Lars Ingebrigtsen <larsi@gnus.org>,
	 Robert Pluim <rpluim@gmail.com>,
	 Bob Newell <bobnewell@bobnewell.net>,
	 ding@gnus.org
Subject: Re: oauth to be required for gmail
Date: Mon, 23 Dec 2019 11:59:51 +0100	[thread overview]
Message-ID: <878sn3qpco.fsf@mid.deneb.enyo.de> (raw)
In-Reply-To: <87tv5yxgae.fsf@randomsample> (David Engster's message of "Wed, 18 Dec 2019 08:07:53 +0100")

* David Engster:

> So I wondered: How does Thunderbird does it?
>
> Oh, there are the ID's and secrets:
>
> https://dxr.mozilla.org/comm-central/source/comm/mailnews/base/util/OAuth2Providers.jsm
>
> But it seems if you put a comment above it which says "Don't copy these
> values for your own application--register it yourself", then it's
> fine.
>
> This whole OAuth2 stuff is ridiculous.

Isn't there a different mode for Thunderbird, which performs a regular
web login and can also support third-party authentication for
enterprise accounts?  Admittedly, it's been a year or two since I
tried this.

Basically, what seems to happen is that Thunderbird sees the OAuth2
request in the IMAP handshake, starts its internal web browser,
renders the Google login page.  With an enterprise domain, Google then
automatically redirects to the external authentication source (based
on its preconfigured records), which can do any authentication it
wants (e.g., use Kerberos, so that the user doesn't even have to enter
a password), and then redirects back to Google, at which point Google
serves something back via the web browser which can be used to
complete the IMAP handshake.

My point is that it is pretty much impossible to complete that
sequence without a complete, Javascript-enabled web browser.  But that
mode, while ridiculously complex, still isn't as pointless as the
approach with static password that is not actually secret and thus
does not serve any purpose at all.



  reply	other threads:[~2019-12-23 10:59 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-16 19:48 Bob Newell
2019-12-16 20:49 ` Florian Weimer
2019-12-16 22:45   ` Bob Newell
2019-12-17  0:17     ` Jude DaShiell
2019-12-17  5:40   ` Pankaj Jangid
2019-12-18  5:52     ` 황병희
2019-12-21 10:26       ` Florian Weimer
2019-12-21 10:50         ` 황병희
2019-12-16 22:46 ` Bob Newell
2019-12-17  8:03 ` Robert Pluim
2019-12-17 17:11   ` Lars Ingebrigtsen
2019-12-17 17:41     ` David Engster
2019-12-18  5:31       ` Bob Newell
2019-12-23 10:50       ` Florian Weimer
2019-12-18  7:07     ` David Engster
2019-12-23 10:59       ` Florian Weimer [this message]
2019-12-23 12:09         ` David Engster
2019-12-24  5:16           ` Bob Newell
2019-12-24 16:53             ` Lars Ingebrigtsen
2019-12-26  7:03               ` Steinar Bang
2019-12-28 20:43                 ` Jouni K. Seppänen
2019-12-26 10:04             ` David Engster
2020-01-07 17:07           ` Jorge A. Alfaro-Murillo
2020-01-07 18:44             ` Eric Abrahamsen
2020-01-07 19:52             ` David Engster
2020-01-08  3:24               ` Pankaj Jangid
2020-01-08  3:28               ` Pankaj Jangid
2019-12-17 17:33   ` David Engster
2020-08-03  3:19 ` just ping (Was: Re: oauth to be required for gmail) 황병희
2020-08-06 12:35   ` just ping 황병희

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878sn3qpco.fsf@mid.deneb.enyo.de \
    --to=fw@deneb.enyo.de \
    --cc=bobnewell@bobnewell.net \
    --cc=deng@randomsample.de \
    --cc=ding@gnus.org \
    --cc=larsi@gnus.org \
    --cc=rpluim@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).