Discussion:
Outlook token keeps expiring
(too old to reply)
John Levine
2023-11-01 10:29:10 UTC
Permalink
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, ***@taugh.com, Primary Perpetrator of "The Internet for Dummies",
Please consider the environment before reading this e-mail. https://jl.ly
Eduardo Chappa
2023-11-02 01:57:03 UTC
Permalink
Post by John Levine
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
2023-11-05 21:02:11 UTC
Permalink
Post by John Levine
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.
--
Regards,
John Levine, ***@taugh.com, Primary Perpetrator of "The Internet for Dummies",
Please consider the environment before reading this e-mail. https://jl.ly
Loading...