From: "Roland Winkler" <winkler@gnu.org>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: Richard Stallman <rms@gnu.org>, emacs-devel@gnu.org
Subject: Re: oauth2 support for Emacs email clients
Date: Sun, 08 Aug 2021 18:48:50 -0500 [thread overview]
Message-ID: <87eeb3fqfx.fsf@gnu.org> (raw)
In-Reply-To: <87bl68la88.fsf@linux-m68k.org> (Andreas Schwab's message of "Sun, 08 Aug 2021 08:30:15 +0200")
On Sun, Aug 08 2021, Andreas Schwab wrote:
> On Aug 08 2021, Roland Winkler wrote:
>
>> Also, I have not yet been able to figure out what happens when a new
>> emacs session is started. oauth2.el uses plstore. Does this work
>> across multiple emacs sessions, or is it then necessary to go again
>> through the (more tedious) multi-factor authentication?
>
> As long as the refresh token remains valid, oauth2.el can refresh the
> auth token automatically with the refresh token. The refresh token is
> all you need to be able to access the IMAP account.
Thanks. My reading of the code of oauth2.el is that oauth2-compute-id
derives the id for plstore from auth-url, token-url, and scope. It
seems to me that this will get confused with, say, two different
Office365 accounts that have the same auth-url, token-url, and scope.
Should the code use also additional information such as the user name?
(I do not know much about plstore.el used by oauth2.el.)
next prev parent reply other threads:[~2021-08-08 23:48 UTC|newest]
Thread overview: 75+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-03 5:00 oauth2 support for Emacs email clients Roland Winkler
2021-08-03 6:32 ` Uwe Brauer
2021-08-03 8:21 ` Andrew Cohen
2021-08-03 19:38 ` Roland Winkler
2021-08-04 0:56 ` Andrew Cohen
2021-08-04 7:27 ` Andrew Cohen
2021-08-04 7:41 ` Andreas Schwab
2021-08-04 23:12 ` Andrew Cohen
2021-08-04 7:03 ` Lars Ingebrigtsen
2021-08-04 7:21 ` Andrew Cohen
2021-08-05 10:34 ` Lars Ingebrigtsen
2021-08-03 9:00 ` Gregory Heytings
2021-08-03 19:27 ` Roland Winkler
2021-08-03 22:02 ` Gregory Heytings
2021-08-05 0:21 ` Andrew Cohen
2021-08-10 14:39 ` Roland Winkler
2021-08-11 0:43 ` Andrew Cohen
2021-08-11 0:54 ` Andrew Cohen
2021-08-12 2:16 ` Richard Stallman
2021-08-12 2:33 ` Andrew Cohen
2021-08-03 20:21 ` Arthur Miller
2021-08-03 20:40 ` Gregory Heytings
2021-08-03 21:14 ` Eric Abrahamsen
2021-08-03 21:19 ` Gregory Heytings
2021-08-14 10:46 ` Richard Stallman
2021-08-14 11:12 ` Gregory Heytings
2021-08-14 11:47 ` Ulrich Mueller
2021-08-15 3:04 ` Richard Stallman
2021-08-15 3:04 ` Making your own application credentials as a user Richard Stallman
2021-08-15 4:10 ` Tim Cross
2021-08-03 9:20 ` oauth2 support for Emacs email clients Eric S Fraga
2021-08-03 11:17 ` Tim Cross
2021-08-03 12:55 ` Gregory Heytings
2021-08-03 13:14 ` tomas
2021-08-05 14:15 ` Richard Stallman
2021-08-03 15:04 ` Eric S Fraga
2021-08-03 19:45 ` Roland Winkler
2021-08-04 6:58 ` Eric S Fraga
2021-08-03 19:41 ` Roland Winkler
2021-08-04 6:59 ` Eric S Fraga
2021-08-04 14:45 ` Thomas Fitzsimmons
2021-08-04 22:45 ` Tim Cross
2021-08-04 23:29 ` Thomas Fitzsimmons
2021-08-05 7:45 ` Ulrich Mueller
2021-08-08 3:58 ` Richard Stallman
2021-08-09 8:30 ` Eric S Fraga
2021-08-12 2:15 ` Richard Stallman
2021-08-12 18:59 ` Roland Winkler
2021-08-03 23:38 ` Richard Stallman
2021-08-08 6:01 ` Roland Winkler
2021-08-08 6:30 ` Andreas Schwab
2021-08-08 23:48 ` Roland Winkler [this message]
2021-08-09 0:01 ` Andrew Cohen
2021-08-08 8:52 ` David Engster
2021-08-08 14:22 ` Thomas Fitzsimmons
2021-08-08 14:47 ` David Engster
2021-08-08 15:30 ` Thomas Fitzsimmons
2021-08-08 16:00 ` David Engster
2021-08-08 23:31 ` Roland Winkler
2021-08-10 2:01 ` Thomas Fitzsimmons
2021-08-10 9:07 ` David Engster
2021-08-10 14:41 ` Thomas Fitzsimmons
2021-08-10 15:56 ` David Engster
2021-08-11 6:37 ` Alexandre Garreau
2021-08-11 3:00 ` Richard Stallman
2021-08-11 9:57 ` David Engster
2021-08-13 3:10 ` Richard Stallman
2021-08-11 2:55 ` Richard Stallman
2021-08-14 15:00 ` Thomas Fitzsimmons
2021-08-14 15:26 ` Gregory Heytings
2021-08-08 16:05 ` Tim Cross
2021-08-09 8:39 ` Eric S Fraga
2021-08-10 3:29 ` Richard Stallman
2021-08-10 6:08 ` Tim Cross
2021-08-10 14:18 ` Roland Winkler
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=87eeb3fqfx.fsf@gnu.org \
--to=winkler@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=rms@gnu.org \
--cc=schwab@linux-m68k.org \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.