我正在使用 Devise,并启用 Github omnauth。
当我点击“使用 github 登录”时,我被重定向到 github 上的 404 未找到页面。
我注意到在 url 中,client_id 参数为空。这是正常的吗?还有其他看起来很奇怪的 URL 吗?
这个设置涉及很多文件,但我可以粘贴任何可能相关的片段。
The URL that I get taken to after clicking sign in with Github:https://github.com/login/oauth/authorize?
client_id=
&redirect_uri=http://loc.mynewapp.com:3000/users/auth/github/callback
&response_type=code
&scope=user:email
本站系公益性非盈利分享网址,本文来自用户投稿,不代表边看边学立场,如若转载,请注明出处
评论列表(25条)