Closed AnRei123 closed 7 months ago
@AnRei123 Thanks for bringing this up.
Note that the subscription key dropdown should include keys to select if a user is subscribed to a Product, which contains the API.
This issue is related to managed developer portal. We advise you to create a Azure support request to get assistance on this issue. Please refer to the below link to create a new Azure support request, Please select Problem Type = "Developer Portal" in the request to route it appropriately.
Background information
Most of our APIs require a subscription of the associated API product. When sending a request for an API with required subscription, the subscription key as well as an application or user access token have to be added to the header of our API s for authorization purposes.
Bug description
In the new DevPortal, on the top of the Try it panel, there is a section called Authorization that includes the subscription key for the associated API product.
Here my observations on this subscription key in the new portal:
Isn´t the current behavior very weird?
I looked up, how the subscription key was implemented in the legacy portal and found that it hasn´t been automatically displayed if you haven´t added it manually via the request header. So it appeared only one time in the Try it section.
Expected behavior
If the currently logged-in user has subscribed to the API product, the current look and behavior of the Try-it panel would be ok.
Is your portal managed or self-hosted?
Managed
Environment