okta/okta-oidc-ios

is it using SafarWebViewController or WKWebview for showing Okta login page?

Opened this issue · 1 comments

Can someone please tell which methodology it is using? Whether it is using SafarWebViewController or WKWebview?

oktaOidc.signInWithBrowser(from: viewController) { stateManager, error in
  if let error = error {
    // Error
    return
  }

Nice question.

Based on system version:

  • iOS 9-10 - SFSafariViewController
  • iOS 11 - SFAuthenticationSession
  • iOS 12-latest version - ASWebAuthenticationSession

For technical details investigate the method.