Using SFSafariViewController instead of ASWebAuthenticationSession/SFAuthenticationSession for OAuth

2.7k Views Asked by At

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?

1

There are 1 best solutions below

1
Mosbah On

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