Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Outlook token keeps expiring

18 views
Skip to first unread message

John Levine

unread,
Nov 1, 2023, 6:29:13 AM11/1/23
to
I'm running alpine on a Mac, compiled from current source.

To access a mailbox at Microsoft, it does an OAUTH login that goes to
a web browser, lets me log in there, and then returns a token to
alpine, which alpine can use for subsequent logins.

That all works fine but in the past week or so, the token seems to expire
immediately, so I can read my mail once, but every subsequent time I
have to log in again which is rather a pain. Has anyone else seen this?
I have not changed my copy of Alpine or as far as I can tell, anything else.
The only thing different is that I am usually in New York and this week I
am in Germany, but the login works fine and MS has lots of users in Europe.

--
Regards,
John Levine, jo...@taugh.com, Primary Perpetrator of "The Internet for Dummies",
Please consider the environment before reading this e-mail. https://jl.ly

Eduardo Chappa

unread,
Nov 1, 2023, 9:57:08 PM11/1/23
to
On Wed, 1 Nov 2023, John Levine wrote:

> That all works fine but in the past week or so, the token seems to
> expire immediately, so I can read my mail once, but every subsequent
> time I have to log in again which is rather a pain. Has anyone else
> seen this? I have not changed my copy of Alpine or as far as I can tell,
> anything else. The only thing different is that I am usually in New York
> and this week I am in Germany, but the login works fine and MS has lots
> of users in Europe.

I do not know what is happenin here. All I can tell you is to run alpine
using the command

alpine -d http

to see the transaction of Alpine with the server. See if it is the server
expiring the refresh token, or if it is Alpine expiring the token. When
Alpine is running in the above form, repeat the problem, quit alpine, and
take a look at the file ~/.pine-debug1 to see the transaction of Alpine
with the server.

Your .pine-debug1 file will contain sensitive information. Remove it after
you use it.

--
Eduardo
https://alpineapp.email (web)
http://repo.or.cz/alpine.git (Git)

John Levine

unread,
Nov 5, 2023, 4:02:13 PM11/5/23
to
It appears that Eduardo Chappa <cha...@washington.edu> said:
>On Wed, 1 Nov 2023, John Levine wrote:
>
>> That all works fine but in the past week or so, the token seems to
>> expire immediately, so I can read my mail once, but every subsequent
>> time I have to log in again which is rather a pain. ...
>> anything else. The only thing different is that I am usually in New York
>> and this week I am in Germany, but the login works fine and MS has lots
>> of users in Europe.

Now I'm in Czechia and it works again. Maybe it's German privacy law,
maybe it was just Microsoft being Microsoft.
0 new messages