boarding: Doesn't seem to work with 2FA
Deployed a new Heroku app get an error on checking the production logs I see:
2016-10-22T07:33:41.782228+00:00 app[web.1]: Please select a device to verify your identity
2016-10-22T07:33:41.783736+00:00 app[web.1]: Completed 500 Internal Server Error in 1105ms
2016-10-22T07:33:41.785151+00:00 app[web.1]:
2016-10-22T07:33:41.785153+00:00 app[web.1]: NoMethodError (undefined method `choose' for #<Spaceship::TunesClient:0x007fac05456330>):
2016-10-22T07:33:41.785154+00:00 app[web.1]: app/controllers/invite_controller.rb:160:in `login'
2016-10-22T07:33:41.785154+00:00 app[web.1]: app/controllers/invite_controller.rb:140:in `app'
2016-10-22T07:33:41.785155+00:00 app[web.1]: app/controllers/invite_controller.rb:152:in `block in app_metadata'
2016-10-22T07:33:41.785156+00:00 app[web.1]: app/controllers/invite_controller.rb:165:in `set_app_details'
2016-10-22T07:33:41.785156+00:00 app[web.1]: app/controllers/invite_controller.rb:150:in `app_metadata'
2016-10-22T07:33:41.785156+00:00 app[web.1]:
2016-10-22T07:33:41.785157+00:00 app[web.1]:
So it looks like it doesn’t work with 2FA, so I generate an app specific password and get the error:
2016-10-22T07:29:52.002790+00:00 app[web.1]: Completed 500 Internal Server Error in 183ms
2016-10-22T07:29:52.003282+00:00 app[web.1]:
2016-10-22T07:29:52.003284+00:00 app[web.1]: Spaceship::Client::InvalidUserCredentialsError (Invalid username and password combination. Used 'da@nineteneleven.org' as the username.):
2016-10-22T07:29:52.003301+00:00 app[web.1]: app/controllers/invite_controller.rb:160:in `login'
2016-10-22T07:29:52.003302+00:00 app[web.1]: app/controllers/invite_controller.rb:140:in `app'
2016-10-22T07:29:52.003303+00:00 app[web.1]: app/controllers/invite_controller.rb:152:in `block in app_metadata'
2016-10-22T07:29:52.003304+00:00 app[web.1]: app/controllers/invite_controller.rb:150:in `app_metadata'
2016-10-22T07:29:52.003304+00:00 app[web.1]: app/controllers/invite_controller.rb:165:in `set_app_details'
2016-10-22T07:29:52.003305+00:00 app[web.1]:
2016-10-22T07:29:52.003306+00:00 app[web.1]:
2016-10-22T07:29:52.037111+00:00 heroku[router]: at=info method=GET path="/" host=jesusis.herokuapp.com request_id=86a6cd29-0e21-4d29-80ab-fb0bd778c236 fwd="81.141.14.45" dyno=web.1 connect=0ms service=201ms status=500 bytes=1669
Any ideas how to resolve without turning of 2FA?
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 25 (10 by maintainers)
Okay, thanks. It might be a good idea to mention that in the README. It also would be good if the
FASTLANE_SESSION
option was available for the Heroku deploy button so that it’s easy to setup.@nprail no, unfortunately it’s not possible to use an application specific password for the generic auth, but only for the iTunes Transporter. There is not much we can do unfortunately.
@ohwutup Any updates?
Probably a dumb question, but how do I pass the session as ENV to my boarding site on heroku? I just followed the steps on the boarding README