Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change login module to use gh-get-token #23

Open
icyflame opened this issue Jun 18, 2015 · 2 comments
Open

Change login module to use gh-get-token #23

icyflame opened this issue Jun 18, 2015 · 2 comments

Comments

@icyflame
Copy link
Owner

icyflame commented Jun 18, 2015

First, fix icyflame/node-gh-get-token#1

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

@Saurabh3333
Copy link
Contributor

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?

@icyflame
Copy link
Owner Author

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants