npm / wombat-cli

The wombat cli tool.
ISC License
35 stars 12 forks source link

Wombat hooks api returns a 401 for accounts with 2FA for "Authorization and Publishing" #158

Open nem035 opened 5 years ago

nem035 commented 5 years ago

Wombat hooks API returns a 401 for accounts with 2FA for "Authorization and Publishing" without providing an option to add a 2FA code.

After successfully authenticating I am able to list my hooks using:

wombat hooks ls

But when I try to update a hook:

wombat hook update <id> <url> <secret>

I get a 401:

hook update ERROR: 401 {"message":"not authorized"}

After changing my 2FA settings to "Authorization" only, I was able to update the hook without issues.