-
Notifications
You must be signed in to change notification settings - Fork 350
Open
Description
Bug description
The Developer Portal displays and uses the built-in gateway hostname (e.g., https://<service-name>.azure-api.net) for API endpoints and “Try it” requests, even when a custom Gateway domain is configured and working. Testing the API from the Azure Portal “Test” tab uses the custom domain correctly; only the Developer Portal keeps showing and calling the built-in URL.
Reproduction steps
- Configure a custom domain for the Gateway (e.g.,
api.example.com) in APIM and verify it’s working (valid cert, DNS OK). - Publish an API with base path (e.g.,
/v1). - Open the Managed Developer Portal and navigate to the API details page.
- Observe the endpoint shown in the header/samples and in the Try it console.
- Send a request via Try it.
- Compare with the same API called from Azure Portal → APIM → APIs → Your API → Test tab (which uses the custom domain).
Actual behavior
- Developer Portal displays and calls the API using the built-in hostname
https://<service-name>.azure-api.net/.... - The
Hostand request URL in the browser’s dev tools also reflect the built-in hostname.
Expected behavior
- Developer Portal should display and use the configured custom Gateway domain (e.g.,
https://api.example.com/...) in the UI, samples, and “Try it” requests — or provide a clear setting to choose which hostname to use.
Is self-hosted portal?
No (Managed Developer Portal).
scottmckendry and jjquist
Metadata
Metadata
Assignees
Labels
No labels