Skip to content

Can't login with 2FA/OTP #35

Description

@searls

Logging in doesn't work for me, unfortunately:

Your GitHub OTP/2FA Code (optional): 985184
{ [Error: Must specify two-factor authentication OTP code.]
  data: 
   { message: 'Must specify two-factor authentication OTP code.',
     documentation_url: 'https://developer.github.com/v3/auth#working-with-two-factor-authentication' } }
/Users/justin/.nodenv/versions/4.4.1/lib/node_modules/offline-issues/src/index.js:17
  headers['Authorization'] = 'token ' + token.token
                                             ^

TypeError: Cannot read property 'token' of undefined
    at module.exports (/Users/justin/.nodenv/versions/4.4.1/lib/node_modules/offline-issues/src/index.js:17:46)
    at /Users/justin/.nodenv/versions/4.4.1/lib/node_modules/offline-issues/src/cli.js:35:3
    at afterCreateAuth (/Users/justin/.nodenv/versions/4.4.1/lib/node_modules/offline-issues/node_modules/ghauth/ghauth.js:155:16)
    at BufferList.afterCreateAuthResponse [as _callback] (/Users/justin/.nodenv/versions/4.4.1/lib/node_modules/offline-issues/node_modules/ghauth/ghauth.js:42:14)
    at BufferList.end (/Users/justin/.nodenv/versions/4.4.1/lib/node_modules/offline-issues/node_modules/ghauth/node_modules/bl/bl.js:98:10)
    at DuplexWrapper.onend (/Users/justin/.nodenv/versions/4.4.1/lib/node_modules/offline-issues/node_modules/ghauth/node_modules/hyperquest/node_modules/duplexer2/node_modules/readable-stream/lib/_stream_readable.js:537:10)
    at DuplexWrapper.g (events.js:260:16)
    at emitNone (events.js:72:20)
    at DuplexWrapper.emit (events.js:166:7)
    at /Users/justin/.nodenv/versions/4.4.1/lib/node_modules/offline-issues/node_modules/ghauth/node_modules/hyperquest/node_modules/duplexer2/node_modules/readable-stream/lib/_stream_readable.js:934:16

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions