Skip to content

Commit aaa54fe

Browse files
Removing duplicated and conflicting script steps
Customers were getting confused by the script block including two versions of the same thing, and that leading to an issue. The jwtClaimChecks version is unnecessary and can be removed.
1 parent 3d389a4 commit aaa54fe

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)