-
Notifications
You must be signed in to change notification settings - Fork 191
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
How to deploy to Heroku with 2-factor? #242
Comments
Are you talking about 2FA on your Apple account connected to AppStore Connect? |
Yes. |
Since the question is in the repository boarding, then the question is about it. I solved the problem of deploying the new boarding on Heroku as follows:
Run Now we need boarding.
|
Hi, I have made an amendment to this that adds the FASTLANE_SESSION variable to the app.json. This is a preferable solution because it allows users to use the "deploy to heroku" button and have it work out of the box, rather than the solution above. I will submit this as a PR. |
I followed @hintoz's steps above and managed to get Boarding deployed to Heroku with a session generated using Clone locally.
Edit the Gemfile to just include # ruby '2.3.3'
gem 'fastlane', '>= 2.126.0', '< 3.0.0' Commit and push to your Heroku app. (Make sure app should has a blank repo.) Then run Copy the Make sure all these vars are set in Heroku:
Now edit the Gemfile to mirror that off the original boarding repo (reverting the previous commit is the easier way.) Commit and push back Heroku. Boarding will now deploy and connect to App Store Connect using your session information and username and password. Hope this helps someone. |
At the moment, is there a way to install a new app with two-factor authentication on Heroku?
All the above methods do not work now.
The text was updated successfully, but these errors were encountered: