Skip to content

Commit 26a32c7

Browse files
committed
enable CORS article
1 parent f186b02 commit 26a32c7

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

articles/api-management/enable-cors-developer-portal.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,6 @@ You can enable a setting to configure a CORS policy automatically for all APIs i
4242

4343
![Screenshot that shows where to check status of your CORS policy in the developer portal.](media/enable-cors-developer-portal/cors-azure-portal.png)
4444

45-
> [!TIP]
46-
> When configuring a [custom domain](configure-custom-domain.md) for the developer portal, you can enable a CORS setting for the custom developer portal domain name. This setting is added to the CORS policy configuration for the default developer portal domain name, if you already enabled it.
47-
48-
4945
### Enable CORS policy manually
5046

5147
1. Select the **Manually apply it on the global level** link to see the generated policy code.
@@ -61,6 +57,12 @@ You can enable a setting to configure a CORS policy automatically for all APIs i
6157
>
6258
> As a workaround, you can pass the subscription key in a query parameter.
6359
60+
### CORS configuration for custom domain name
61+
62+
If you configure a [custom domain](configure-custom-domain.md) for the developer portal, ensure that you enable CORS for the custom developer portal domain name .
63+
64+
You can enable a CORS setting for the custom developer portal domain name at the same time that you configure the custom domain. If you previously enabled CORS for the default domain name, the custom domain name is added as a CORS origin in the CORS policy. You can edit this setting at any time.
65+
6466
## CORS proxy option
6567

6668
For some scenarios (for example, if the API Management gateway is network isolated), you can choose to configure the developer portal as a CORS proxy itself, instead of enabling a CORS policy for your APIs. The CORS proxy routes the interactive console's API calls through the portal's backend in your API Management instance.

0 commit comments

Comments
 (0)