Omniauth 设备错误
我目前正在开发一个使用 Devise 和 Omniauth 的 Rails 3 应用程序,并且我正在尝试集成 Facebook 身份验证。一切似乎都设置正确,但是当我尝试访问 http://localhost:3000/auth/facebook< /a>,它会将我重定向到 Facebook,在那里我收到此错误:
{
"error": {
"type": "OAuthException",
"message": "Missing client_id parameter."
}
}
有谁知道出了什么问题,或者我该如何解决这个问题?提前致谢!
I'm currently developing a Rails 3 app that uses Devise and Omniauth, and I'm trying to integrate Facebook authentication. Everything seems to be set up correctly, but when I try to go to http://localhost:3000/auth/facebook, it redirects me to Facebook where I get this error:
{
"error": {
"type": "OAuthException",
"message": "Missing client_id parameter."
}
}
Does anyone know what's going wrong, or how I can fix this? Thanks in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
想通了。尽管 Spree Social 已经建立,但我还是试图将 Omniauth 和 Devise 合并起来。抱歉给您带来麻烦了!
Figured it out. I was trying to incorporate Omniauth and Devise even though Spree Social had already been set up. Sorry for the trouble!