Today I am happy to announce that our SDK family just gained a new member: the Active Directory Authentication Library (ADAL) for Windows Phone 8.1!
ADAL for Windows Phone further extends the reach of our client libraries, joining the ranks of ADAL for iOS, ADAL for Android, and of course ADAL for Windows Store and ADAL for .NET.
The library bits are packaged in the same NuGet used for distributing ADAL for Windows Store and .NET, whose version is now bumped to 2.6.2: you can include it in your projects directly from Visual Studio, selecting the "include prerelease" option.
ADAL for Windows Phone 8.1 takes full advantage of the authentication features offered by the Windows Phone 8.1 platform, including its native support for WebAuthenticationBroker. The WebAuthenticationBroker API have been modified in respect to the Windows 8.x signature, to ensure that the feature will work great on devices of all power classes: the ADAL object model has been adapted to accommodate those changes. You can find an example demonstrating how to use the library in a Windows Phone app in this GitHub repo. For a detailed description of the programming model, see this deep dive post.
As always, we'd be excited to receive any feedback or suggestions you have!
Alex Simons (twitter: @Alex_A_Simons)
Director of PM
Active Directory Team
Been waiting for this release for a few months! Very good news, can't wait to try this out in the new Universal App projects.
If it's called the "WebAuthenticationBroken API", then I'm not that confident that it's going to work :-)
@David - good catch! I'll fix that typo. Luckily the code has been tested a lot more than my blog post!
Again some very good work ! Love IT!
Great post again Alex! This is what I love reading about your posts because you never run out of great and interesting info. Thanks.
I want to use this AD authentication along with Xamarin Forms. It seems like I can only add Xamarin.Forms Nuget package in a Windows Phone Silverlight project. And I cannot add this Microsoft.IdentityModel.Clients.ActiveDirectory Nuget package in a Windows
Phone Silverlight project.
this new release is very cool, but I'm facing an issue with ADAL on real Windows Phone 8.1 while this is working on the Windows Phone 8.1 VMs from the SDK. See my post here:
any ideas on how this could be fixed, or do you have a working sample to share ?