[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Making GNUS continue to work with Gmail
From: |
Andrew Cohen |
Subject: |
Re: Making GNUS continue to work with Gmail |
Date: |
Thu, 27 Aug 2020 20:30:22 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Microsoft has deferred retiring Basic Authentication for existing
customers until the second half of 2021 due to covid-19. New customers,
or those with no recorded usage, will have Basic Authentication disabled
as scheduled, October 2020.
https://developer.microsoft.com/en-us/office/blogs/deferred-end-of-support-date-for-basic-authentication-in-exchange-online/
For what its worth the outlook issues are similar to (or the same as)
gmail: registering a client with MS (or google) and then using a
potentially problematic web page to obtain a refresh-token. Once this is
done it is quite easy (in both gmail and outlook) to use the oauth2.el
library to authenticate.
In case anyone is interested in the details:
1. Refreshing the access-token using the oauth2.el library didn't work
at first. Turns out MS forbids including the client_secret in the
params list, while google requires it. I've changed oauth2.el to
handle this trivial issue.
2. There are a several packages floating around to make this work but I
realized it can be done with existing mechanisms with one minor
change to auth-source.el (which I just pushed to master), allowing
the plstore backend to store a function that retrieves the password
rather than the password itself. Then setting this slot to the
function from oauth2.el that refreshes the token
makes everything just work.
If anyone wants more details let me know.
Best,
Andy
- Re: Making GNUS continue to work with Gmail, (continued)
- Re: Making GNUS continue to work with Gmail, Gregory Heytings, 2020/08/17
- Re: Making GNUS continue to work with Gmail, Richard Stallman, 2020/08/18
- Re: Making GNUS continue to work with Gmail, Richard Stallman, 2020/08/18
- Re: Making GNUS continue to work with Gmail, Eric S Fraga, 2020/08/26
- Re: Making GNUS continue to work with Gmail, Pierre Téchoueyres, 2020/08/26
- Re: Making GNUS continue to work with Gmail, Eric S Fraga, 2020/08/27
- Re: Making GNUS continue to work with Gmail, Richard Stallman, 2020/08/26
- Re: Making GNUS continue to work with Gmail, Eric S Fraga, 2020/08/27
- Re: Making GNUS continue to work with Gmail, tomas, 2020/08/27
- Re: Making GNUS continue to work with Gail, Eric S Fraga, 2020/08/27
- Re: Making GNUS continue to work with Gmail,
Andrew Cohen <=
- Re: Making GNUS continue to work with Gmail, Eric S Fraga, 2020/08/27
- Re: Making GNUS continue to work with Gmail, Richard Stallman, 2020/08/27
- Re: Making GNUS continue to work with Gmail, Andrew Cohen, 2020/08/28
- Re: Making GNUS continue to work with Gmail, Richard Stallman, 2020/08/29
- Re: Making GNUS continue to work with Gmail, Richard Stallman, 2020/08/27
- Re: Making GNUS continue to work with Gmail, Cesar Crusius, 2020/08/15
- Re: Making GNUS continue to work with Gmail, David De La Harpe Golden, 2020/08/16
- Re: Making GNUS continue to work with Gmail, Uwe Brauer, 2020/08/16
- Re: Making GNUS continue to work with Gmail, David De La Harpe Golden, 2020/08/16
Re: Making GNUS continue to work with Gmail, Mingde (Matthew) Zeng, 2020/08/11