Search code examples
wso2wso2-api-manager

WSO2-AM 3.2.0 - Developer Portal - redirecting to localhost


I'm trying to access WSO2 Developer Portal sing-in page on a docker environment but I'm been automatically redirected to localhost.

I access Developer Portal using this address:

https://192.168.21.120:9443/devportal/apis

When I click in Sign-In button I'm redirected to:

https://localhost:9443/oauth2/authorize?response_type=code&c...

Where can I fixe this url?


Solution

  • Try updating the following configuration in the deployment.toml

    [server]
    hostname = "localhost"
    

    You will also have to update the SP as per below doc.

    https://apim.docs.wso2.com/en/latest/troubleshooting/troubleshooting-invalid-callback-error/#