wso2 api manager. redirect to localhost

Viewed 2707

Please help I installed wso2 APIM and now configuring. I created new REST API, and enter url "View in Dev Portal", redirected to localhost for me I changed hostname in deployment.toml (ip-addr). Why redirecting to localhost for me?

2 Answers

Uncomment and update this configuration.

#[apim.devportal]
#url = "https://localhost:${mgt.transport.https.port}/devportal"

Login to the Carbon console (/carbon) and go to Service Providers and select Store/Dev Portal as Application, and expand Inbound Authentication Configuration and click on edit. It will open the inbound authentication configurations, edit the callback URL by replacing the localhost with your IP/hostname and update it.

Now, the dev-portal will not be redirected to the localhost.

The same applies for the publisher as well.

Related