简体   繁体   English

无法为openID配置WSO2身份服务器

[英]Unable to configure WSO2 identity server for openID

The problem appears when configuring the server to work with a real host name and not with localhost. 配置服务器以使用真实主机名而不使用localhost时,会出现此问题。

I followed the links at http://wso2.org/forum/thread/19721 but this doesn't worked. 我按照http://wso2.org/forum/thread/19721上的链接进行了操作,但这不起作用。

Scenario: 场景:

version 3.2.3 版本3.2.3

Download wso2is, extract, execute: everything works fine, openID provider is localhost 下载wso2is,解压缩,执行:一切正常,openID提供程序是localhost

now I want to use "whatever.myDomain.com" as openID provider name 现在我想使用“whatever.myDomain.com”作为openID提供者名称

Download wso2is, extract, create the store with the new name by following http..://blog.facilelogin.com/2010/12/deploying-wso2-identity-server-over.html, configure carbon.xml and identity.xml mostly by following http..://wso2.org/project/solutions/identity/3.2.3/docs/production.html, and start it up 下载wso2is,使用新的名称解压缩,创建具有新名称的商店..://blog.facilelogin.com/2010/12/deploying-wso2-identity-server-over.html,配置carbon.xml和identity.xml主要通过关注http:http://wso2.org/project/solutions/identity/3.2.3/docs/production.html,并启动它

In this case a) the server starts up but there are some errors in the console "Error while loading identity configurations ...bad file descriptor...and so on". 在这种情况下a)服务器启动但控制台中存在一些错误“加载身份配置时出错......坏文件描述符...等等”。 The web console is up, and login as admin works, bot when clicking on Infocard/openid it crashes (error ocurred while issuing information card) Web控制台已启动,登录为管理员工作,机器人点击Infocard / openid时崩溃(发布信息卡时出错)

How can I configure wso2is to work with my own name of openID provider instead of localhost? 如何配置wso2is以使用我自己的openID提供程序名称而不是localhost?

The error you are experiencing is due to a random bug in the configuration parser logic which is fixed in the trunk. 您遇到的错误是由配置解析器逻辑中的随机错误引起的,该错误已在主干中修复。 More information about this fix is available here [1]. 有关此修复程序的更多信息,请参见[1]。

Other than that modifying the parameters mentioned in those posts should work. 除了那些修改这些帖子中提到的参数应该工作。

This bug fix will be included in the next release. 此错误修复将包含在下一个版本中。 But you can get the diff from the following link and apply the fix and compile the corresponding bundle by your self. 但是您可以从以下链接获取差异并应用修复并自行编译相应的包。

HTH. HTH。

Thilina Thilina

[1] - http://wso2.org/svn/browse/wso2?revision=121681&view=revision [1] - http://wso2.org/svn/browse/wso2?revision=121681&view=revision

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM