[Alpine-info] invalid_grant error AADSTS70043: expired or invalid refresh token

Eduardo Chappa alpine.chappa at yandex.com
Mon Jul 17 19:34:21 PDT 2023


On Mon, 17 Jul 2023, Chamberlain, Brad wrote:


> Hello alpine community —

>

> I returned from a week's vacation this morning, fired up alpine and have

> been getting error messages that are unfamiliar to me.  Upon trying to open

> my inbox, I get:

>                                         

>       [>Code 400: invalid_grant: AADSTS70043: The refresh token has expired

> or is invalid due to sign-in frequenc<]


Dear Brad,

the issue is that the refresh token was revoked by the server. Who knows
why that happen. It was an internal policy. Tokens can be revoked for
several reasons, including, but not limited to, expiration: The refresh
token has outlived its validity; change in account settings: for example,
change in the password; confirmation of account settings: checking that
your information is up-to-date. Apparently you hit another one: not loging
into your account for a week.

When this happens simply try to reopen your INBOX. For example, if the
error happens when you are opening Alpine, a failure to open your inbox
will put you in a screen from where you need to navigate to your INBOX and
then try to open int again. This time Alpine will display the screen to
grant authorization to Alpine and create the refresh token that you can
use in the future.


> And when trying to send a mail, I get the similar error:

>

>       [>Error sending: Code 400: invalid_grant: AADSTS70043: The refresh

> token has expired or is invali<]


The refresh token that is used to login to your inbox is the same that is
used to login to your smtp server. Revocation of the refresh token will
prevent you from reading your inbox and sending email. It is an "all or
none" scheme.

I hope this helps.

--
Eduardo


More information about the Alpine-info mailing list