[英]WSO2 API Manager redirects to 9443 in OAuth flow
We are running API Manager 1.5.0. 我们正在运行API Manager 1.5.0。 When walking the Authorization grant, a client application makes a request to https://my.example.com/oauth2/authorize which responds with a 302 redirect to https://my.example.com:9443/authenticationendpoint (or commonauth).
进行“授权”授予时,客户端应用程序向https://my.example.com/oauth2/authorize发出请求,并以302重定向到https://my.example.com:9443/authenticationendpoint (或commonauth)进行响应。 How do I configure API Manager to not redirect to 9443?
如何配置API Manager使其不重定向到9443?
I have updated the config in carbon.xml with 我已经使用以下命令更新了carbon.xml中的配置
<HostName>my.example.com</HostName>
and 和
<MgtHostName>my.example.com</MgtHostName>
I've also updated catalina-server.xml with proxyports (443 for 9443 and 80 for 9763). 我还用proxyports更新了catalina-server.xml(对于9443为443,对于9763为80)。 Is there another configuration needed to correct the port used in the OAuth redirect?
是否需要其他配置来更正OAuth重定向中使用的端口?
Since Your running authorization server inside APIM you will be redirected to https://:9443/authenticationendpoint in authorization code grant during authorize request. 由于您在APIM中正在运行的授权服务器,因此在授权请求期间,您将在授权代码授予中重定向到https://:9443 / authenticationendpoint。
If you want to change default port follow this https://docs.wso2.org/display/AM150/Changing+the+Default+Ports+with+Offset 如果要更改默认端口,请遵循以下https://docs.wso2.org/display/AM150/Changing+the+Default+Ports+with+Offset
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.