i'm testing facebook single sign on in following scenarios
- when account logged in via settings\facebook
- when account logged in via safari
- when account logged in via local app.
the last test, when facebook app installed , has valid credentials, never seems work.
the options seem work when safari logged out or settings\facebook system isn't logged in either.
i don't want cause user ever enter password, web browser (or looks one).
question
- how ios sdk authenticate using installed, working facebook app?
research
i've tested forms of facebook authentication, set loginbutton loginbehaviors, , null parameter
loginbutton = new loginbutton (new cgrect (48, 0, 218, 46)) { // loginbehavior = // loginbehavior.browser // safari // loginbehavior.native // safari // loginbehavior.web // popup (doesn't feel secure) //loginbehavior.systemaccount // system, if fail safari... ignore app };
have whitelisted facebook apps in info.plist file?
from facebook docs (https://developers.facebook.com/docs/ios/ios9):
if use of facebook dialogs (e.g., login, share, app invites, etc.) can perform app switch facebook apps, need update application's plist handle changes canopenurl described in https://developer.apple.com/videos/wwdc/2015/?id=703.
Comments
Post a Comment