3098: Cannot link a GitHub account with two-factor authentication enabled
- Fixed
- Review Board
ch***@orr.***** (Google Code) (Is this you? Claim this profile.) | |
Dec. 18, 2013 |
What version are you running? 1.7.14 What steps will reproduce the problem? 1. Attempt to add a GitHub repository with "Link a new account" 2. Enter the user/pass for a GitHub account with 2FA enabled Error is shown: "Unable to link the account: Must specify two-factor authentication OTP code." The documentation says that one option is to send the OTP code via an HTTP header: http://developer.github.com/v3/auth/#working-with-two-factor-authentication
We'll look into possibilities for implementing support for this. As it is today, we don't have a way to enable this. You *can* call their authorizations API yourself with the proper headers, using curl or something, and then create your own Hosting Service Account database entry with the resulting payload from that API, to get around this. That's clearly not a good long-term solution, but from their docs, it sounds like it would work.
-
+ Confirmed -
+ Milestone-Release1.7.x + Component-HostingServices