You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `NUXT_PUBLIC_SCOPE` environment variable in the `.env` file determines the default scope of the API calls made by the application. It can be set to 'enterprise', 'organization', 'team-organization' or 'team-enterprise'.
171
171
@@ -227,22 +227,28 @@ For more information see [Nuxt Sessions and Authentication](https://nuxt.com/doc
227
227
228
228
#### NUXT_PUBLIC_USING_GITHUB_AUTH
229
229
230
-
Default is `false`. When set to `true`, GitHub OAuth App Authentication will be performed to verify users' access to the dashboard.
230
+
Default is `false`. When set to `true`, GitHub OAuth App Authentication will be performed to verify users' access to the dashboard. For this, a GitHub App must be registered and installed in the enterprise/org. See [Github App Registration](DEPLOYMENT.md#github-app-registration) for the steps to follow.
231
231
232
232
Variables required for GitHub Auth are:
233
-
1.`NUXT_OAUTH_GITHUB_CLIENT_ID` - client ID of the GitHub App registered and installed in the enterprise/org with permissions listed in [NUXT_GITHUB_TOKEN](#NUXT_GITHUB_TOKEN).
233
+
1.`NUXT_OAUTH_GITHUB_CLIENT_ID` - client ID of the GitHub App.
234
234
2.`NUXT_OAUTH_GITHUB_CLIENT_SECRET` - client secret of the GitHub App.
235
235
3.[Optional]`NUXT_OAUTH_GITHUB_CLIENT_SCOPE` for scope requests when using OAuth App instead of GitHub App. See [Github docs](https://docs.github.com/en/apps/oauth-apps/building-oauth-apps/differences-between-github-apps-and-oauth-apps) for details.
236
236
237
237
>[!WARNING]
238
238
> Only users with permissions (scopes listed in [NUXT_GITHUB_TOKEN](#NUXT_GITHUB_TOKEN)) can view copilot metrics, GitHub uses the authenticated users permissions to make API calls for data.
239
239
240
-
#### Support for HTTP Proxy HTTP_PROXY
240
+
#### HTTP_PROXY
241
241
242
242
Solution supports HTTP Proxy settings when running in corporate environment. Simple set `HTTP_PROXY` environment variable.
243
243
244
244
For custom CA use environment variable `CUSTOM_CA_PATH` to load the certificate into proxy agent options.
245
245
246
+
#### NITRO_PORT
247
+
248
+
Default is `80` in the [Dockerfile](Dockerfile). It defines the port number that Nitro (Nuxt’s server engine) will listen on.
249
+
250
+
For example, it should be set to a number between 1024 and 49151 if the application is run as a non-root user.
0 commit comments