"Could not connect..." with OAuth.io Cordova Plugin Popup -



"Could not connect..." with OAuth.io Cordova Plugin Popup -

i set app in authio dashboard , can authenticate facebook , twitter developer dashboard.

my cordova project config.xml includes tag <access origin="*" />

my project angular-based ngsanitize , have these urls whitelisted $scedelegateprovider.resourceurlwhitelist():

'https://oauth.io/**', 'https://graph.facebook.com/**', 'https://api.twitter.com/**'

my auth function calls oauth.initialize() key , next line oauth.popup(service).

when run on android, popup opens , closes quickly. on iphone, error in console:

webview:didfailloadwitherror - -1004: not connect server.

what missing create popup work intended?

solved - needed alter oauth.io dashboard backend setting "client side flow"

cordova oauth inappbrowser

Comments

Popular posts from this blog

assembly - What is the addressing mode for ld, add, and rjmp instructions? -

vowpalwabbit - Interpreting Vowpal Wabbit results: Why are some lines appended by "h"? -

Is there a way to convert an HTML page styled with Bootstrap CSS into email-compatible html? -