File tree 5 files changed +244
-5
lines changed
5 files changed +244
-5
lines changed Original file line number Diff line number Diff line change
1
+ # Environment variables needed to run your app. Rename this file to .env to start!
2
+
3
+ # The client ID for your GitHub OAuth App
4
+ GITHUB_CLIENT_ID = e845f73fa2...
Original file line number Diff line number Diff line change @@ -77,12 +77,23 @@ application**!
77
77
78
78
#### Add your GitHub Client ID
79
79
80
+ Start by renaming the ` .env.example ` file at the top level of your project to
81
+ ` .env ` , being sure not to commit this file to version control. This file will
82
+ store sensitive, app-specific variables that are determined by the environment
83
+ being used.
84
+
80
85
From your new GitHub app's dashboard, copy the ** Client ID** and paste it as the
81
- value for ` client_id ` in ` external_auth/github_provider.ts ` – the custom OAuth2
82
- provider definition for this GitHub app.
86
+ value for ` GITHUB_CLIENT_ID ` in the ` .env ` file. This value will be used in
87
+ ` external_auth/github_provider.ts ` – the custom OAuth2 provider definition for
88
+ this GitHub app.
83
89
84
90
Once complete, use ` slack run ` or ` slack deploy ` to update your local or hosted
85
- app.
91
+ app!
92
+
93
+ > Note: Unlike environment variables used at runtime, this variable is only used
94
+ > when generating your app manifest. Therefore, you do ** not** need to use the
95
+ > ` slack env add ` command to set this value for
96
+ > [ deployed apps] ( #deploying-your-app ) .
86
97
87
98
#### Generate a Client Secret
88
99
You can’t perform that action at this time.
0 commit comments