Implementing Azure Active Directory SSO (Single Sign on) in Xamarin iOS apps

This blog post is the first in a series that cover Azure Active Directory Single Sign On (SSO) Authentication in native mobile applications.

  1. Authenticating iOS app users with Azure Active Directory (this post)
  2. How to Best handle AAD access tokens in native mobile apps
  3. Using Azure SSO access token for multiple AAD resources from native mobile apps
  4. Sharing Azure SSO access token across multiple native mobile apps.

Brief Start

Two weeks ago the Azure AD (AAD) team released the Active Directory Authentication Library (ADAL) to enable developers to implement SSO functionality leveraging AAD.… [Keep reading] “Implementing Azure Active Directory SSO (Single Sign on) in Xamarin iOS apps”

Office 365 / SharePoint Sign-in with Xamarin.iOS

While coding up an iOS app with Xamarin I came across some odd behaviour when trying to programmatically sign in to O365 using HttpClient.

Xamarin

If you are not aware, Xamarin is built with Mono (the open source .NET Framework) and for all intents and purposes has the same namespace and language features as .NET 4.5. Excluding of course, all the Microsoft specific .NET parts.

HttpClient

OK I’ll set the scene. One of the requirements of my shiny new Xamarin app was to host a SharePoint site in a browser control.… [Keep reading] “Office 365 / SharePoint Sign-in with Xamarin.iOS”