WSO2 SSO 总是重定向到 localhost:9443/samlsso [英] WSO2 SSO always redirects to localhost:9443/samlsso
问题描述
我正在使用 WSO2 身份服务器(端口 9443)和企业服务总线(ESB,端口 9444).我将 ESB 配置为使用 IS SSO.但是每次我尝试登录 ESB 时,它都会将我重定向到 IS,然后将我重定向到 URL localhost:9443/samlsso.
I'm using WSO2 identity server (on port 9443) and enterprise service bus (ESB, on port 9444). I configured ESB to use IS SSO. But everytime I try to login into ESB it redirects me to IS and there it redirects me to URL localhost:9443/samlsso.
我已经尝试在没有访问权限的情况下更改 identities.xml 和 carbon.xml 中的此 URL.
I already tried changing this URL in identities.xml and carbon.xml without access.
在哪里可以配置重定向地址?
Where can I configure the redirection address?
在 carbon.xml 中,我将主机名指定为HostName"和MgtHostName".但 IS 仍然使用 localhost.
In carbon.xml I specified the hostname as "HostName" and "MgtHostName". But IS still uses localhost.
谢谢!
推荐答案
好的,我找到了解决方案.
Ok, I found a solution.
我对 IS 和 ESB 包中的所有 XML 文档进行了搜索+替换,并用我的主机名替换了所有localhost".
I did a search+replace over all XML documents inside the IS and ESB package and replaced all "localhost" by my hostname.
这篇关于WSO2 SSO 总是重定向到 localhost:9443/samlsso的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!