【问题标题】:Ruby on Rails , functionalities having twitter authentication and email authentication (autlogic and 'oath)Ruby on Rails,具有 twitter 身份验证和电子邮件身份验证的功能(autlogic 和 'oath)
【发布时间】:2010-03-19 07:46:18
【问题描述】:

我想请教您如何使用电子邮件添加/基本登录进行身份验证,同时还拥有 twitter 登录,twitter 身份验证工作正常,但如果有其他登录方式,例如使用基本注册并且电子邮件登录部分不起作用....

有什么想法吗...?

【问题讨论】:

    标签: ruby-on-rails email authentication twitter


    【解决方案1】:

    正如shingara 提到的,authlogic 非常适合身份验证,无论是基于电子邮件还是基于登录。它有一些扩展,例如authlogic-oauth plugin/gem,您可以将其与 Twitter 的 OAuth 结合使用,让用户使用他们的 Twitter 详细信息登录您的网站。

    【讨论】:

      【解决方案2】:

      您可以使用一些身份验证插件,例如 authlogic。

      有几种登录策略。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2018-09-23
        • 2011-12-08
        • 2018-02-10
        • 2011-02-02
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2023-03-18
        相关资源
        最近更新 更多