I'm having trouble authenticating and getting hold of the auth token when trying to hook up to a Microsoft Share Point service.
Does anyone have a working example for me or some hints as to how to correctly obtain a auth token?
Thanks!
I'm having trouble authenticating and getting hold of the auth token when trying to hook up to a Microsoft Share Point service.
Does anyone have a working example for me or some hints as to how to correctly obtain a auth token?
Thanks!
There is a Robert Kuzma blog post about NTLM authentication from iOS to SharePoint. Some additional information on selecting the preferred authentication method can be found here.
To summarize, use the didReceiveAuthenticationChallenge
callback from NSURLConnection
.
If that doesn't help you, please be specific in what your authentication troubles are.
I found two very important links which are useful to get the solution. The links are:
1. Using UIWebView
Here, I only need to pass a URL to UIWebView
. If the URL is openable, Office 365
login view will open on your UIWebView
, where you can enter your login credentials. You can find the full description with related code at here.
An other solution is
2. Creating your own UI for login
Here, you have to design your own UI and full manual code to authenticate. You can find all the required help related to code, I can say full code from here.