Authlogic OpenID错误:未初始化的常量OpenIdAuthentication :: InvalidOpenId [英] Authlogic OpenID error: uninitialized constant OpenIdAuthentication::InvalidOpenId

查看:115
本文介绍了Authlogic OpenID错误:未初始化的常量OpenIdAuthentication :: InvalidOpenId的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用authlogic 2.1.3和authlogic-oid 1.0.4,当rails击中向OpenID提供程序发出请求的控制器时,我收到以下错误:

Using authlogic 2.1.3, and authlogic-oid 1.0.4 I receive the following error as soon as rails hits a controller making a request to an OpenID provider:

uninitialized constant OpenIdAuthentication::InvalidOpenId

我还安装了以下软件:

  • 机架Openid(0.2.1)
  • ruby​​-openid(2.1.7)
  • rails/open_id_authentication插件

environment.rb中的宝石配置如下:

Gems in environment.rb are configured as such:

config.gem "authlogic"
config.gem "authlogic-oid", :lib => "authlogic_openid"
config.gem "ruby-openid", :lib => "openid"

任何建议将不胜感激,谢谢.

Any suggestions would be appreciated, thank you.

推荐答案

rails/open_id_authentication插件已在几天前进行了更新,并且破坏了与authlogic_openid gem(v = 1.0.4)的兼容性.

rails/open_id_authentication plugin has been updated a few days ago and it breaks compatibility with the authlogic_openid gem (v=1.0.4).

您将不得不等到有人修复authlogic_openid gem(问题 )

Youl'll have to wait until someone fix the authlogic_openid gem (the issue)

这篇关于Authlogic OpenID错误:未初始化的常量OpenIdAuthentication :: InvalidOpenId的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆