gmvault icon indicating copy to clipboard operation
gmvault copied to clipboard

Cannot read oauth credentials

Open neodem opened this issue 8 years ago • 1 comments

  • What version of Gmvault do you use ? 1.9

  • On what Operating System (Linux flavour, MacOSX, Win7/XP/Vista) ? Mac OSX 10.10.5 (Yosemite)

  • Type of requests (Bug, documentation issue, features) ? feature/documentation?

  • Explain the request subject (issue details, feature details): I'm running gmv using a mac launchd config and it's having trouble accessing the stored token. I've got the user correct and the token file has very open permissions (775) but yet I still get :

Cannot read oauth credentials from /Users/admin/.gmvault/{account}.oauth2. Force oauth credentials renewal.

What I'd like to know is how the oauth storage location is chosen and how I could either (a) reset it or (b) locate it somewhere else.

  • In case of bug or issue, please detail how we can reproduce the problem:

  • Contact details (emails to recontact you if you didn't use the github interface): you can contact me here on GH

neodem avatar Dec 12 '16 20:12 neodem

By default the oauth2 token will be stored in $HOME/.gmvault/[email protected]. It looks like the account name is not the right one. normally you should type something like:

$>gmvault sync [email protected]

With the [email protected] being the gmail username you want to back up Please try that again and let me know how it goes.

gaubert avatar Jan 03 '17 08:01 gaubert