'azure-api-management different link to navigation items for different environments

For our api management portal we have different environments, development to production. We create our pages in DEV and push them through with migrate via a pipeline.

For the sign up navigation item I am using a link to to open a account creation page on a self hosted website. For example, on development this links to 'dev.login.com'. For prod I want to link this to 'login.com'. Is this supported?

When I capture my api management with the capture script I can find my link in the snapshot data.json file



Solution 1:[1]

As per our understanding, you want to create an API portal where the URL will be redirected to the login page with the different environments. Here is the example where you can use the redirection to login URL for which you need to create suffix as per the below image.

enter image description here

After creating API you need to add operation enter image description here

Once the operation is created now by using Return Response policy you can redirect the URL to the login page.

For complete information, you can go through the related discussions SO and Microsoft Q&A

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 SaiSakethGuduru-MT