I have a button that I'm using in a Chrome extension to connect to Twitter. When I click connect using the following code:
OAuth.popup('twitter').done(function(result) {
console.log(result)
}, function(result) {
debugger
});
The window pops up and closes right way. Debugging gives me this message:
Origin "https://mail.google.com/mail/u/0/" does not match any registered domain/url on oauth.io
Any idea what might be stopping it from working properly?
Fixed by adding
https://mail.google.com
to the listed of accept URLs in oauth.io.