Two-factor authentication
DaleLJefferson opened this issue · comments
Dale L. Jefferson commented
This is a (Bug Report / Feature Proposal)
Feature Proposal
Description
Our Github organisation uses Github's two-factor authentication, I assumed I would be able to create a personal access token and use that in place of my password but I get the following error.
{"message":"This API can only be accessed with username and password Basic Auth","documentation_url":"https://developer.github.com/v3/oauth_authorizations/#oauth-authorizations-api"}
If I use my real password I get
{"message":"Must specify two-factor authentication OTP code.","documentation_url":"https://developer.github.com/v3/auth#working-with-two-factor-authentication"}
Additional Data
- npm 4.2.0
- serverless 1.9.0
- node 6.10.1
Dale L. Jefferson commented
Sorry did not read the documentation
Jon Sharratt commented
No worries, if you have any further issues let me know 👍