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
Copy file name to clipboardExpand all lines: README.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -212,10 +212,16 @@ Note the `Client ID` and `Private Key`.
212
212
213
213
### Azure Deployment
214
214
215
-
[](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2Fkarpikpl%2Fcopilot-metrics-viewer%2Fmain%2Fazure-deploy%2Fazuredeploy.json)
215
+
1. Option 1 - with Personal Access Token used in the backend:
216
+
217
+
[](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2Fkarpikpl%2Fcopilot-metrics-viewer%2Fmain%2Fazure-deploy%2Fwith-app-registration%2Fazuredeploy.json)
218
+
219
+
2. Option 2 - with GitHub app registration and GitHub authentication:
220
+
221
+
[](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2Fkarpikpl%2Fcopilot-metrics-viewer%2Fmain%2Fazure-deploy%2Fwith-token%2Fazuredeploy.json)
216
222
217
223
**Important**
218
-
After deployment redirect URI needs to be updated with the URL of the deployed container app.
224
+
After deployment of Option 2 redirect URI needs to be updated with the URL of the deployed container app.
219
225
220
226
Go to: `https://github.com/organizations/<your-org>/settings/apps/<your app>` or in the UI to settings of the registered application and add following redirect URLs:
"description": "GitHub PAT token with manage_billing:copilot for ORGs or PAT (classic) with manage_billing:copilot or read:enterprise scopes for Enterprise"
20
+
}
21
+
},
22
+
"github-organization": {
23
+
"type": "string",
24
+
"defaultValue":"",
25
+
"metadata": {
26
+
"description": "GitHub Organization - provide only if application-scope is organization"
27
+
}
28
+
},
29
+
"github-enterprise": {
30
+
"type": "string",
31
+
"defaultValue":"",
32
+
"metadata": {
33
+
"description": "GitHub Enterprise - provide only if application-scope is enterprise"
0 commit comments