heroku / heroku-repo

Plugin for heroku CLI that can manipulate the repo
MIT License
688 stars 113 forks source link

Incompatible with yubikey/2fa #24

Closed kennethreitz closed 10 years ago

kennethreitz commented 10 years ago
$ heroku sudo repo:purge_cache --app vast-peak-5752                                                                                                                                                                                                                                                                                                                 ~  
 !    A second authentication factor or pre-authorization is required for this request. Your account has either two-factor or a Yubikey registered.
 !    
 !    Read more: https://devcenter.heroku.com/articles/two-factor-authentication
gudmundur commented 10 years ago

Can you try doing a heroku preauth -a vast-peak-5752 before using the repo plugin? If the preauth complains, try doing the preauth with sudo.

tt commented 10 years ago

Even if that works, that definitely not how it's supposed to work. The CLI can actually prompt you and should.

gudmundur commented 10 years ago

@kennethreitz Try updating your plugins and retry.