4

Our user experience team does not like the consent popup every time login page is opened. Also, we are looking to customize the look of the browser window presented when OAuth is implemented using ASWebAuthenticationSession/SFAuthenticationSession.

For the reasons above, I am thinking to change the implementation and use SFSafariViewController directly for Authentication.

Although I did not find any reference for this, but I am worried if using SFSafariViewController for OAuth would give problem in Appstore submission as Apple has already provided a way for it in form of ASWebAuthenticationSession/SFAuthenticationSession? Does anyone has a view on it?

d60402
  • 3,190
  • 2
  • 23
  • 28
SHN
  • 785
  • 7
  • 23

1 Answers1

1

Since iOS 11 SFSafariViewController no longer shares cookies so I'm afraid that's not possible.

Mosbah
  • 1,347
  • 1
  • 14
  • 28
  • Sorry, I am not very clear, SFVC no longer shares cookies - this means SSO won't work but we can still open SFVC in app and get auth token. My concern is: whether submission to AppStore will be of any problem if implementing OAuth with SFSafariViewController instead of new SFAuthenticationSession? – SHN Jan 29 '19 at 15:52