emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: oauth2 support for Emacs email clients


From: Roland Winkler
Subject: Re: oauth2 support for Emacs email clients
Date: Tue, 03 Aug 2021 14:38:53 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

On Tue, Aug 03 2021, Andrew Cohen wrote:
>>>>>> "RW" == Roland Winkler <winkler@gnu.org> writes:
> But the truly hacky part---the information for refreshing the token is
> stored in an auth-source file, where the "secret" is a function that
> refreshes the token and returns the new credential.
>
> Once set up it works pretty well (although it asks for the password for
> the auth-source file frequently---I haven't had time to learn how
> auth-source decides when a password is required so this should be easily
> fixable---its not frequent enough to really bother me and my emacs time
> is very limited these days).

As I said in another reply to this thread, I believe that the problem
with frequent password requests is due to the fact that oauth2.el does
not support `access_type=offline' upon authentication.

> If you want to try it let me know and I'll try to walk you through the
> setup.

Thanks, I got this part working.  But I realized that davmail mentioned
elsewhere in this thread gives me, all in all, a smoother work flow.

> diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el
>
> diff --git a/lisp/mail/smtpmail.el b/lisp/mail/smtpmail.el

I suggest to apply these steps to the emacs trunk, as one step towards
better oauth2 support.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]