Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with 2FA+Heroku+FASTLANE_SESSION #173

Open
nthegedus opened this issue Jul 7, 2017 · 7 comments
Open

Problem with 2FA+Heroku+FASTLANE_SESSION #173

nthegedus opened this issue Jul 7, 2017 · 7 comments

Comments

@nthegedus
Copy link

nthegedus commented Jul 7, 2017

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 protected]. 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
Copy link
Author

nthegedus commented Jul 10, 2017

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

@KrauseFx
Copy link
Member

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

@nthegedus
Copy link
Author

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
Copy link

@KrauseFx any updates?

@KrauseFx
Copy link
Member

I updated the docs guide, however I should probably add this to boarding also, does this help? fastlane/docs#504

@KrauseFx
Copy link
Member

Let me know what you think

@eXhausted
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants