Skip to content

Commit 1177bfe

Browse files
committed
updates to docs
1 parent a551efa commit 1177bfe

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

DEPLOYMENT.md

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,10 @@ Application will use a pre-built docker image hosted in GitHub registry: `ghcr.i
5353

5454
[![Deploy to Azure](https://aka.ms/deploytoazurebutton)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2Fgithub-copilot-resources%2Fcopilot-metrics-viewer%2Fmain%2Fazure-deploy%2Fwith-app-registration%2Fazuredeploy.json/uiFormDefinitionUri/https%3A%2F%2Fraw.githubusercontent.com%2Fgithub-copilot-resources%2Fcopilot-metrics-viewer%2Fmain%2Fazure-deploy%2Fwith-app-registration%2Fportal.json)
5555

56-
**Important**: After deploying Option 2, the redirect URI needs to be updated with the URL of the deployed container app.
57-
58-
Go to: `https://github.com/organizations/<your-org>/settings/apps/<your-app>` or in the UI to the settings of the registered application and add the following redirect URLs:
59-
60-
```
61-
http://<YOUR Container APP URL>.azurecontainerapps.io/callback
62-
https://<YOUR Container APP URL>.azurecontainerapps.io/callback
63-
```
56+
>[!INFORMATION]
57+
>**Important**: After deploying Option 2, the redirect URI needs to be updated with the URL of the deployed container app.
58+
>
59+
>Go to: `https://github.com/organizations/<your-org>/settings/apps/<your-app>` or in the UI to the settings of the registered application and add the following redirect URL: `https://<your-container-app-name-and-region>.azurecontainerapps.io/auth/github`
6460
6561
### Deployment with private networking
6662

@@ -154,7 +150,7 @@ or navigate using UI:
154150

155151
1. Set a unique name.
156152
2. Provide a home page URL: your company URL or just `http://localhost`.
157-
3. Add a callback URL for `http://localhost:3000/callback`. (We'll add the real redirect URL after the application is deployed.)
153+
3. Add a callback URL for `http://localhost:3000/github/auth`. (We'll add the real redirect URL after the application is deployed.)
158154
4. Uncheck the "Webhook -> Active" checkbox.
159155
5. Set the scopes:
160156
- Select **Organization permissions**.

0 commit comments

Comments
 (0)