"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
Post a Comment