【发布时间】:2019-06-19 06:01:32
【问题描述】:
我们的用户体验团队不喜欢每次打开登录页面时都会弹出同意书。此外,我们希望自定义使用 ASWebAuthenticationSession/SFAuthenticationSession 实现 OAuth 时显示的浏览器窗口的外观。
由于上述原因,我正在考虑更改实现并直接使用SFSafariViewController 进行身份验证。
虽然我没有找到任何参考,但我担心如果使用 SFSafariViewController 进行 OAuth 会在 Appstore 提交中出现问题,因为 Apple 已经以 ASWebAuthenticationSession/SFAuthenticationSession 的形式提供了一种方法?有人对此有看法吗?
【问题讨论】:
-
SHN,你能做到吗?
-
@CaseyPerkins,对不起,我们没有继续使用 SFSafariViewController,使用了 ASWebAuthenticationSession 并且 UI 团队批准了同意弹出窗口。
标签: ios oauth-2.0 sfsafariviewcontroller sfauthenticationsession aswebauthenticationsession