我正在尝试使用yammer按钮使用devise omniauthable实现signin。我正在关注github自述文件的指南。
https://github.com/plataformatec/devise/wiki/OmniAuth:-Overview 和 https://github.com/le0pard/omniauth-yammer
在Yammer中,我使用重定向URI http://127.0.0.1:3000/users/auth/yammer/callback
设置了我的应用。
当我访问invalid redirect_uri
http://localhost:3000/users/auth/yammer
错误
所有Yammer文档都说重定向URI应该是https://example.com
但是在开发和测试中如何工作?
github https://github.com/annado/bigboard上的这个项目有效,我试图跟踪他们的代码广告,他们建议将重定向URI设为http://127.0.0.1:3000
所以我只是困惑?回调URI应该是什么?
答案 0 :(得分:1)