I have an iOS application, and my customers my be logged into Facebook via
- The Web Browser
- The native config in Settings
- The Facebook app/ messenger
When I follow the instructions using MSAL or ADAL it seems that I'm only using the Safari browser for authentication.
Is there any way (even in theory) to leverage the credentials already stored within option 2 or option 3?
What would be needed for the MSAL / ADAL to leverage option 2 or 3?
The ADAL ObjC v3 experimental library is currently not supported and we recommend using a 3rd party library. Our current recommendation is NXOAuth2. There is no MSAL for iOS yet. If I were to take a guess #2 might not work due to a need to show user consent interrupts, and #3 would add a dependency on the Facebook SDK that we would not want to require all users to take. You can file a feature request for both of those, but neither would be coming for a while, assuming they are even feasible.
Edit: #1 will be possible in the future using
SFSafariViewController
, but B2C currently doesn't support the features necessary to securely useSFSafariViewController
in app.