Reputation: 41
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?
Upvotes: 4
Views: 4578
Reputation: 435
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.
Upvotes: 0
Reputation: 12512
Uncomment and update this configuration.
#[apim.devportal]
#url = "https://localhost:${mgt.transport.https.port}/devportal"
Upvotes: 4