Skip to Content
0
Sep 23, 2020 at 03:25 PM

Need to access Sharepoint files with SSO (iOS)

118 Views

Hi,

I want to display a pdf(which is in sharepoint) in my iOS app with a URL. But when i call that url using webview, it first ask user to enter credentials. I want to make this process automatic(SSO login) . I am using JamfKeyChainUtilities URLCredential and i am passing it in webview delegate function:

webView(_ webView: WKWebView, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void)

But this is not working for me. Can any one help me in this?