github-release-plugin icon indicating copy to clipboard operation
github-release-plugin copied to clipboard

Cannot release because of 2-factor auth

Open fbiville opened this issue 10 years ago • 1 comments
trafficstars

Hi, thanks for the good work, this is really the plugin I need! However, when I try to deploy my script to Github via the plugin, I get an error with the following contents:

java.io.IOException: {"message":"Must specify two-factor authentication OTP code.","documentation_url":"https://developer.github.com/v3/auth#working-with-two-factor-authentication"}

Any plan to support this?

fbiville avatar Nov 27 '14 01:11 fbiville

Hi. You can use an auth token by adding it as <privateKey> in the server definition in your settings.xml If you don't have one yet, you can create it here https://github.com/settings/applications

jutzig avatar Nov 27 '14 12:11 jutzig