Skip to content
This repository has been archived by the owner on Nov 28, 2018. It is now read-only.

Work with two-factor authentication #166

Open
FGRibreau opened this issue Aug 25, 2016 · 3 comments
Open

Work with two-factor authentication #166

FGRibreau opened this issue Aug 25, 2016 · 3 comments

Comments

@FGRibreau
Copy link

FGRibreau commented Aug 25, 2016

We use 2-factor auth at our company.

You must disable two-factor authentication or you will receive a console log like this: Login to ${USERNAME} failed.

Why precisely are USER & PASSWORD mandatories for mention-bot ? There is no way to work with private repositories through the API?

@FGRibreau FGRibreau changed the title Does not work with Two-factor authentication Work with two-factor authentication Aug 25, 2016
@vjeux
Copy link
Contributor

vjeux commented Aug 25, 2016

The github api doesn't have a way to get the blame information, so we're querying the normal website for it, which requires a normal authentication and doesn't let us use the token unfortunately :(

@FGRibreau
Copy link
Author

FGRibreau commented Aug 25, 2016

Oh I see! Thanks for the update @vjeux :)

@shaneog
Copy link
Contributor

shaneog commented Dec 2, 2016

It does now (thanks to @vjeux for pinging GitHub on Twitter!) https://gist.github.com/gjtorikian/f5b72bfbd749d71092d684fb4ff12c9b

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

No branches or pull requests

3 participants