Skip to content

Commit ad6da81

Browse files
Merge pull request #302116 from mattchenderson/patch-11
Removing duplicated and conflicting script steps
2 parents cc3143a + aaa54fe commit ad6da81

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

articles/app-service/tutorial-auth-aad.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -262,10 +262,6 @@ You can set this via the same Azure CLI process you used in the previous step.
262262
authSettings=$(az webapp auth show -g myAuthResourceGroup -n <back-end-app-name>)
263263
authSettings=$(echo "$authSettings" | jq '.properties' | jq '.identityProviders.azureActiveDirectory.validation.defaultAuthorizationPolicy.allowedApplications += ["<front-end-app-id>"]')
264264
az webapp auth set --resource-group myAuthResourceGroup --name <back-end-app-name> --body "$authSettings"
265-
266-
authSettings=$(az webapp auth show -g myAuthResourceGroup -n <back-end-app-name>)
267-
authSettings=$(echo "$authSettings" | jq '.properties' | jq '.identityProviders.azureActiveDirectory.validation.jwtClaimChecks += { "allowedClientApplications": ["<front-end-app-id>"]}')
268-
az webapp auth set --resource-group myAuthResourceGroup --name <back-end-app-name> --body "$authSettings"
269265
```
270266

271267
## 7. Frontend calls the authenticated backend

0 commit comments

Comments
 (0)