SHN
SHN

Reputation: 795

Using SFSafariViewController instead of ASWebAuthenticationSession/SFAuthenticationSession for OAuth

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?

Upvotes: 4

Views: 2902

Answers (1)

Mosbah
Mosbah

Reputation: 1385

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

Upvotes: 1

Related Questions