Skip to content

Commit 5ebdd7c

Browse files
authored
clarify wildcard subdomain
1 parent 16ee1d3 commit 5ebdd7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/app-service/app-service-web-tutorial-rest-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ az resource update --name web --resource-group <group-name> \
215215
--parent sites/<app-name> --set properties.cors.supportCredentials=true
216216
```
217217

218-
This operation is not allowed when allowed origins include the wildcard origin `'*'`. Specifying `AllowAnyOrigin` and `AllowCredentials` is an insecure configuration and can result in cross-site request forgery.
218+
This operation is not allowed when allowed origins include the wildcard origin `'*'`. Specifying `AllowAnyOrigin` and `AllowCredentials` is an insecure configuration and can result in cross-site request forgery. To allow credentials, try replacing the wildcard origin with [wildcard subdomains](#how-do-i-set-allowed-origins-to-a-wildcard-subdomain).
219219

220220
[!INCLUDE [cli-samples-clean-up](../../includes/cli-samples-clean-up.md)]
221221

0 commit comments

Comments
 (0)