Skip to content

Commit 7a45f7d

Browse files
authored
Update signalr-cli-create-with-app-service-github-oauth.md
1 parent 90e6121 commit 7a45f7d

File tree

1 file changed

+3
-16
lines changed

1 file changed

+3
-16
lines changed

articles/azure-signalr/scripts/signalr-cli-create-with-app-service-github-oauth.md

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -28,33 +28,20 @@ This sample script creates a new Azure SignalR Service resource, which is used t
2828

2929
### Enable GitHub authentication and Git deployment for web app
3030

31-
1. Update the values in the following script for the desired deployment username and its password
32-
33-
```azurecli
34-
deploymentUser=<Replace with your desired username>
35-
deploymentUserPassword=<Replace with your desired password>
36-
```
37-
38-
2. Update the values in the following script based on your GitHub OAuth App registration.
31+
1. Update the values in the following script based on your GitHub OAuth App registration.
3932

4033
```azurecli
4134
GitHubClientId=<Replace with your GitHub OAuth app Client ID>
4235
GitHubClientSecret=<Replace with your GitHub OAuth app Client Secret>
4336
```
4437

45-
3. Add app settings to use with GitHub authentication
38+
1. Add app settings to use with GitHub authentication
4639

4740
```Azure CLI
4841
az webapp config appsettings set --name $webApp --resource-group $resourceGroup --settings "GitHubClientSecret=$GitHubClientSecret"
4942
```
5043

51-
4. Update the webapp with the desired deployment user name and password
52-
53-
```Azure CLI
54-
az webapp deployment user set --user-name $deploymentUser --password $deploymentUserPassword
55-
```
56-
57-
5. Configure Git deployment and return the deployment URL.
44+
1. Configure Git deployment and return the deployment URL.
5845

5946
```Azure CLI
6047
az webapp deployment source config-local-git --name $webAppName --resource-group $resourceGroupName --query [url] -o tsv

0 commit comments

Comments
 (0)