Open GoogleCodeExporter opened 8 years ago
Currently, it's no easy way to restore (reset) as far as I know.
The easier way is to delete access token file, which can be found at
~/.local/share/googlecl/access_tok_email@example.com. BUT it contains all
access tokens of email@example.com, once you delete it, you will need to
re-authorize other services as well.
I also open a new Issue 413 for handling this kind of issue.
Original comment by livibet...@gmail.com
on 7 Aug 2011 at 10:12
The above solution does not work for me, nor does --force-auth.
Here is my situation:
1) Tried 'google contacts ..' and had to use the 'url copy/remove hd=..' to get
access, then I was able to list contacts
2) Tried 'google calendar ..' and tried the same 'url copy/remove hd param' but
was unable to get access.
3) Tried revoking the googlecl access in my account on google
4) Was unable to authorize calendar and contacts now would of course give me
the 'token revoked' message
5) Tried --force-auth for contacts and it didn't work. It claimed to have
added the authorization to my account, but the googlecl command didn't work and
it still wouldn't show googlecl in the authorized access to my account.
6) Tried removing the .local access token file and reauth, same problem, still
wouldn't work and still wouldn't show up in my account.
I do not have a gmail account, just google apps (calendar, docs, contacts,
etc..)
I would love to have CLI access to google, very much.
Original comment by google....@daveola.com
on 16 Jul 2012 at 1:14
Original issue reported on code.google.com by
q8mos...@gmail.com
on 27 Jun 2011 at 10:23