Closed binodmx closed 4 years ago
Hi @binodmx
have you set the devportal url in the deployment.toml file?
[apim.devportal] url = "https://localhost:${mgt.transport.https.port}/devportal"
I only changed [server] hostname earlier. After enabled [apim.devportal] and replaced localhost with hostname (url = "https://hostname:${mgt.transport.https.port}/devportal"), it worked properly.
However, I was able to visit devportal directly using https://hostname:9443/devportal/ without enabling [apim.devportal]. In that case, I suppose View in Dev Portal should not redirect to localhost.
For redirection the Settings API reads the devportal url thats is why we have to change the devportal url as well.
Hey @kavishkafernando,
I have the same problem with redirection, and I have changed apim.devportal url to https://hostname:${mgt.transport.https.port}/devportal , but it still redirects to localhost. Do you have any idea why?
Thanks!
Though deployment.toml is configured correctly, "View in Dev Portal" link in menu bar redirects to localhost.