Closed jbeuckm closed 10 years ago
I have an Authio app that can connect to facebook and twitter successfully from the developer dashboard.
<access origin="*" /> appears in my config.xml inside the <widget> root node.
<access origin="*" />
config.xml
<widget>
My project is Angular-based and I have these urls whitelisted with $sceDelegateProvider.resourceUrlWhitelist():
'https://oauth.io/**', 'https://graph.facebook.com/**', 'https://api.twitter.com/**'
My auth function calls OAuth.initialize() with my key and the next line is OAuth.popup('facebook').
OAuth.initialize()
OAuth.popup('facebook')
When run on Android, the popup just opens and closes quickly. On an iPhone, I get this error in the console:
webView:didFailLoadWithError - -1004: Could not connect to the server.
Solved - I had one of the backends selected in the app dashboard instead of "client side flow"
I have an Authio app that can connect to facebook and twitter successfully from the developer dashboard.
<access origin="*" />
appears in myconfig.xml
inside the<widget>
root node.My project is Angular-based and I have these urls whitelisted with $sceDelegateProvider.resourceUrlWhitelist():
My auth function calls
OAuth.initialize()
with my key and the next line isOAuth.popup('facebook')
.When run on Android, the popup just opens and closes quickly. On an iPhone, I get this error in the console:
webView:didFailLoadWithError - -1004: Could not connect to the server.