Hello Mutt/Gmail/Oauth2 Users, I had a problem reading my Google mail and wanted to let you know what happened in case any other oauth2.py users have a similar problem.
I have a number of Gmail user accounts for which I use Mutt with oauth2 to read mail and, today, one stopped working. I started mutt and got this on the status line: ---------------------------------------------------------- mutt_account_getoauthbearer: Command returned empty string ---------------------------------------------------------- My Mutt config runs the oauth2.py script to get the access token. I ran oauth2.py manually and got this: ---------------------------------------------------------- Traceback (most recent call last): File "/home/hokan/bin/oauth2.py", line 347, in <module> main(sys.argv) File "/home/hokan/bin/oauth2.py", line 311, in main print 'Access Token: %s' % response['access_token'] KeyError: 'access_token' ---------------------------------------------------------- After much wailing and gnashing of teeth, I looked at my Google account to see what had access to my data and didn't see Mutt listed. Perhaps after a year-and-a-half my access expired? I followed the process to get a new Refresh Token, replaced that in my Mutt config and I could read mail again. So, this turned out not to be a problem with Mutt, but with my Google account. -- Hokan Bicyclist Sysadmin
signature.asc
Description: PGP signature