cli-cube-timer icon indicating copy to clipboard operation
cli-cube-timer copied to clipboard

Change login module to use gh-get-token

Open icyflame opened this issue 10 years ago • 2 comments

First, fix https://github.com/icyflame/node-gh-get-token/issues/1

Then use http://npmjs.com/package/gh-get-token

icyflame avatar Jun 18 '15 06:06 icyflame

After using gh-get-token for login, I am getting: Existing token returned! Visit https://github.com/settings/developers in your browser to revoke access.

Is it what we are expecting?

Saurabh3333 avatar Dec 19 '17 20:12 Saurabh3333

Yeah, if there is an existing token for this application, gh-get-token will return the same token. That's how the GitHub api works. (You may have to activate 2 factor authentication to test this feature properly)

icyflame avatar Dec 20 '17 03:12 icyflame