【问题标题】:What is the call back url I should provide for spree social我应该为狂欢社交提供什么回调网址
【发布时间】:2016-03-28 15:50:18
【问题描述】:

我正在使用 spree_social gem,使用 facebook 和 google 进行社交媒体登录。

当我尝试在 twitter 中创建应用程序时,他们说回调 url 无效

http://localhost:3000/users/auth/twitter 这是我提供的回调网址。我应该给回调网址以使其工作

【问题讨论】:

    标签: twitter-oauth spree spree-auth-devise


    【解决方案1】:

    正如 spree_social 扩展中提到的回调 url

    • Twitter,http://localhost:3000(开发)或http://your-site.com(生产)(提及here)。
    • Facebook,不需要回调 url(见here)。
    • Google,http://localhost:3000/users/auth/google_oauth2/callback(开发)或http://your-site.com/users/auth/google_oauth2/callback(生产)。

    【讨论】:

    • 感谢您的回答
    猜你喜欢
    • 2011-03-08
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-10-06
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-02-15
    相关资源
    最近更新 更多