我有一个在Chrome扩展中用来连接Twitter的按钮。当我使用以下代码单击连接时:
OAuth.popup('twitter').done(function(result) {
console.log(result)
}, function(result) {
debugger
});窗口弹出并以正确的方式关闭。调试给了我这样的消息:
Origin "https://mail.google.com/mail/u/0/" does not match any registered domain/url on oauth.io
你知道是什么原因导致它无法正常工作吗?
发布于 2014-12-04 04:11:44
已通过将https://mail.google.com添加到oauth.io中列出的接受URL修复。
https://stackoverflow.com/questions/27280208
复制相似问题