bgreenlee / sublime-github

Sublime Text 2/3 plugin that provides a number of useful commands for GitHub.
MIT License
455 stars 98 forks source link

Using token instead of password gives error about missing password #33

Closed alechko closed 11 years ago

alechko commented 11 years ago

According to documentation, it's possible to use token auth instead of storing plain-text password in a non protected file:

Note you must specifiy either username AND password or token.

so while my ~/.config/sublime-text-2/Packages/User/Gist.sublime-settings file looks like this:

{
    "username": "user",
    "token": "265f8************************************"
}

when trying to create / list gists, message pops up:

Gist: GitHub username or password isn't provided in Gist.sublime-settings file

Also tried without success to use these settings in the ~/.config/sublime-text-2/Packages/Gist/Gist.sublime-settings file. I've looked at the other similar issues, and nothing solves this but using a password and not a token.

ST2 v2.0.1 build 2217 OS CrunchBang Linux statler

bgreenlee commented 11 years ago

You've got the wrong package. Mine is GitHub, not Gist.