facebookarchive / mention-bot

Automatically mention potential reviewers on pull requests.
Other
3.36k stars 271 forks source link

Work with two-factor authentication #166

Open FGRibreau opened 8 years ago

FGRibreau commented 8 years ago

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?

vjeux commented 8 years ago

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 commented 8 years ago

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

shaneog commented 7 years ago

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