0
我在Chrome擴展程序中使用了一個按鈕來連接到Twitter。當我點擊連接使用下面的代碼:將Oauth.io集成到React Chrome擴展程序中
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
任何想法可能無法正常工作來阻止它?
我提到這個:https://github.com/oauth-io/oauthd/issues/52並補充說:''externally_connectable「:{ 」matches「:[」https://oauth.io/* 「] },'manifest.json,但沒有改變。 – brandonhilkert 2014-12-03 19:47:49