我是Redmine的用户已有4年了,现在我试图通过OpenID提供对我的用户帐户的访问。我已经设法安装必要的依赖关系,并使用指定的字段填充用户帐户表单中的openId Url。Redmine OpenID的用法
当我得到登录页面并输入https://www.google.com/accounts/o8/id时,我被重定向到一个Google页面,在那里我可以选择我授予访问权限的两个活动帐户中的哪一个。我不知道哪些字段会与Google回复匹配,但是我将登录用户名更改为我的电子邮件。
我尝试这两个帐户,一个是普通的Gmail帐户,另一个是Google Apps帐户。没有任何反应只是返回到登录页面。
环境:
Ruby version 1.8.7 (i386-linux)
RubyGems version 1.8.10
Rack version 1.1.2
Rails version 2.3.11
Active Record version 2.3.11
Active Resource version 2.3.11
Action Mailer version 2.3.11
Active Support version 2.3.11
Edge Rails revision unknown
Application root /var/www/html/redmine
Environment production
Database adapter mysql
Database schema version 20110511000000
About your Redmine plugins
Redmine Gitolite Hook plugin 0.1.1
Redmine Light Box plugin 0.0.1
Redmine Backlogs v0.6.14
Redmine Auto Done 100% 0.0.1
Mylyn Connector plugin 2.7.5.stable
Redmine Attach Screenshot plugin 0.1.0
Apache + Passenger
CentOS 6
安装了它们,选择器已安装。现在我管理着,通过查看redmine日志并获取“openid.identity”=>“https://www.google.com/accounts/o8/id?id=AItOawlCJoDrEGkXPlpmxxxxxxxxxxxxx”。我将其作为开放标识url来配置在我的redmine帐户中。现在登录工程...以及我也必须这样做:http://www.redmine.org/issues/7857#note-11 但是我的实际问题仍然存在,因为实际上我们可以简单地认识到它只是没有实现这种账户关联功能。对? – rsilva4 2012-04-18 09:54:55
使用Redmine 1.3.3稳定,没有这个问题。现在我允许用户通过OpenID注册自己,并批准他们的注册为管理员。然后,每个用户可以直接从“我的帐户”更改他们的OpenID网址 – mppfiles 2012-04-27 13:46:50