From 4ba1414d6b6ad72414fa36e53072e900edcd69c5 Mon Sep 17 00:00:00 2001 From: Bec Martin Date: Thu, 26 Dec 2019 10:56:40 +1100 Subject: [PATCH 1/3] added the variable in the heroku deployment env (app.json) and updated the readme with a link to the docs on how to generate the session --- README.md | 1 + app.json | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/README.md b/README.md index 9fecc7c5..67c017ee 100644 --- a/README.md +++ b/README.md @@ -116,6 +116,7 @@ To secure your webpage, you only have to set the `ITC_TOKEN` environment variabl * `ITC_CLOSED_TEXT` Set this text to temporary disable enrollment of new beta testers * `RESTRICTED_DOMAIN` Set this domain (in the format `domain.com`) to restrict users with emails in another domain from signing up. This list supports multiple domains by setting it to a comma delimited list (`domain1.com,domain2.com`) * `FASTLANE_ITC_TEAM_NAME` If you're in multiple teams, enter the name of your iTC team here. Make sure it matches. +* `FASTLANE_SESSION` You need to provide a [pregenerated session](https://docs.fastlane.tools/best-practices/continuous-integration/#spaceauth) via fastlane spaceauth if you have 2-factor authentication enabled and want to use any actions that communicates with App Store Connect. * `IMPRINT_URL` If you want a link to an imprint to be shown on the invite page. ## Custom Domain diff --git a/app.json b/app.json index 329d9c0d..e86d16e9 100644 --- a/app.json +++ b/app.json @@ -22,6 +22,10 @@ "description": "Optional: If you're in multiple teams, enter the name of your iTC team here. Make sure it matches.", "required": false }, + "FASTLANE_SESSION": { + "description": "Optional: You need to provide a pregenerated session via fastlane spaceauth if you have 2-factor authentication enabled and want to use any actions that communicates with App Store Connect.", + "required": false + }, "ITC_APP_TESTER_GROUPS": { "description": "Optional: The groups you want the invited to be placed in", "required": false From 46c45553a333d5e7239dc0056db2c87d6df23a77 Mon Sep 17 00:00:00 2001 From: Bec Martin Date: Thu, 26 Dec 2019 11:29:30 +1100 Subject: [PATCH 2/3] Update app.json change per @janpio suggestion Co-Authored-By: Jan Piotrowski --- app.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.json b/app.json index e86d16e9..06cfdbe7 100644 --- a/app.json +++ b/app.json @@ -23,7 +23,7 @@ "required": false }, "FASTLANE_SESSION": { - "description": "Optional: You need to provide a pregenerated session via fastlane spaceauth if you have 2-factor authentication enabled and want to use any actions that communicates with App Store Connect.", + "description": "Optional: You need to provide a pregenerated session via `fastlane spaceauth` if you have 2-factor authentication enabled and want to use any actions that communicates with App Store Connect.", "required": false }, "ITC_APP_TESTER_GROUPS": { From 718ce66ff21ece2c1bc47d52d5c471e3aa28702d Mon Sep 17 00:00:00 2001 From: Josh Holtz Date: Mon, 22 Mar 2021 18:09:06 -0500 Subject: [PATCH 3/3] Update README.md Co-authored-by: Jan Piotrowski --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 67c017ee..b88e722a 100644 --- a/README.md +++ b/README.md @@ -116,7 +116,7 @@ To secure your webpage, you only have to set the `ITC_TOKEN` environment variabl * `ITC_CLOSED_TEXT` Set this text to temporary disable enrollment of new beta testers * `RESTRICTED_DOMAIN` Set this domain (in the format `domain.com`) to restrict users with emails in another domain from signing up. This list supports multiple domains by setting it to a comma delimited list (`domain1.com,domain2.com`) * `FASTLANE_ITC_TEAM_NAME` If you're in multiple teams, enter the name of your iTC team here. Make sure it matches. -* `FASTLANE_SESSION` You need to provide a [pregenerated session](https://docs.fastlane.tools/best-practices/continuous-integration/#spaceauth) via fastlane spaceauth if you have 2-factor authentication enabled and want to use any actions that communicates with App Store Connect. +* `FASTLANE_SESSION` You need to provide a [pregenerated session](https://docs.fastlane.tools/best-practices/continuous-integration/#spaceauth) via `fastlane spaceauth` if you have 2-factor authentication enabled and want to use any actions that communicates with App Store Connect. * `IMPRINT_URL` If you want a link to an imprint to be shown on the invite page. ## Custom Domain