For a hybrid SSO scenario using the Facebook iOS SDK, what's the best way generating a password/key for our own custom user records?

后端 未结 3 1019
孤城傲影
孤城傲影 2021-01-31 06:26

So my intention is to have a login in my iOS app that allows for either our standard email/pwd registration, or login with Facebook. We are also creating rest services to get a

3条回答
  •  旧时难觅i
    2021-01-31 06:29

    Have you looked at the iOS docs for Single Sign On (SSO)? https://developers.facebook.com/docs/guides/mobile/#ios

    You can share an app ID across mobile, canvas and web site and the same user auth works for each environment.

    Check out: https://developers.facebook.com/docs/authentication/

    Facebook Platform provides a number of ways to use the above OAuth flows in different app types, including Websites, Apps on Facebook.com, Mobile and Desktop Apps.

提交回复
热议问题