fastlane / boarding

Instantly create a simple signup page for TestFlight beta testers
https://fastlane.tools
MIT License
874 stars 192 forks source link

Problem with 2FA+Heroku+FASTLANE_SESSION #173

Open nthegedus opened 7 years ago

nthegedus commented 7 years ago

Hi,

my AppleID has 2FA, and was following this steps https://github.com/fastlane/fastlane/blob/master/spaceship/README.md#2-step-verification

But I was not finding a way to add the FASTLANE_SESSION key on Heroku.

So i disabled the 2FA, and created the site on Heroku using the Boarding Template. It works perfectly until I active the 2FA again.

Once created the site, I could add the FASTLANE_SESSION key and use the code generated by fastlane spaceauth -u email@email.com. But it's not working, I still receiving a Sign In Request on my iPhone.

I'm doing something wrong? There's a misunderstanding from my part?

This is the log from Heroku

2017-07-07T12:27:02.394886+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=estimate-app.herokuapp.com request_id=9ce47ff3-ac6d-4db3-b793-a5f11407e532 fwd="187.106.86.4" dyno= connect= service= status=503 bytes= protocol=https 2017-07-07T12:27:03.249389+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=estimate-app.herokuapp.com request_id=147485d1-614a-4844-8c34-65caa21d188c fwd="187.106.86.4" dyno= connect= service= status=503 bytes= protocol=https

Thanks

nthegedus commented 7 years ago

@KrauseFx I don't wanna be a boring guy, but could you help me?

KrauseFx commented 7 years ago

You could create a separate account with a random password that doesn't have 2 factor enabled as a workaround for now :+1:

nthegedus commented 7 years ago

Thanks @KrauseFx, I thought that could may have another way to use my account with 2FA.

By the way, I think you could add this tip on the Getting Started tutorial

Thanks again

eXhausted commented 6 years ago

@KrauseFx any updates?

KrauseFx commented 6 years ago

I updated the docs guide, however I should probably add this to boarding also, does this help? https://github.com/fastlane/docs/pull/504

KrauseFx commented 6 years ago

Let me know what you think

eXhausted commented 6 years ago

These all make sense, but there's no way to provide FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD and FASTLANE_SESSION from Heroku Buildpack.

Any way, great job as always.