Skip to content

Commit da54150

Browse files
authored
Merge pull request #107559 from mikebudzynski/apim-portal-cors-howto
APIM: steps for applying CORS on all APIs
2 parents 849ada3 + bf37873 commit da54150

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

articles/api-management/api-management-howto-developer-portal.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,12 @@ The interactive console makes a client-side API request from the browser. You ca
153153
</cors>
154154
```
155155

156+
Apply the CORS on the global scope to ensure it's enabled for all APIs.
157+
158+
1. Navigate to **All APIs** in the **APIs** section of your API Management service in the Azure portal.
159+
2. Click on the **</>** icon in the **Inbound processing** section.
160+
3. Insert the policy in the **<inbound>** section of the XML file. Make sure the **<origin>** value matches your developer portal's domain.
161+
156162
> [!NOTE]
157163
>
158164
> If you apply the CORS policy in the Product scope, instead of the API(s) scope, and your API uses subscription key authentication through a header, your console won't work.

0 commit comments

Comments
 (0)