Category Archives: IdentityModel

WIF, ADFS 2 and WCF–Part 4: Service Client (using Service Metadata)

See parts 1, 2 and 3 first. In this part we will finally build a client for our federated service. There are basically two ways to accomplish this. You can use the WCF built-in tooling to generate client and configuration … Continue reading

Posted in IdentityModel | 5 Comments

WIF, ADFS 2 and WCF–Part 3: ADFS Setup

In part 1 of this series I briefly gave an overview of the ADFS / WS-Trust infrastructure. In part 2 we created a basic WCF service that uses ADFS for authentication. This part will walk you through the steps to … Continue reading

Posted in IdentityModel | Leave a comment

WIF, ADFS 2 and WCF–Part 2: The Service

OK – so let’s first start with a simple WCF service and connect that to ADFS 2 for authentication. The service itself simply echoes back the user’s claims – just so we can make sure it actually works and to … Continue reading

Posted in IdentityModel | 21 Comments

WIF, ADFS 2 and WCF–Part 1: Overview

A lot has been written already about passive federation and integration of WIF and ADFS 2 into web apps. The whole active/WS-Trust feature area is much less documented or covered in articles and blogs. Over the next few posts I … Continue reading

Posted in IdentityModel | Leave a comment

StarterSTS v1.5 CTP

I just uploaded a new version of StarterSTS to Codeplex. There have been some dramatic changes since the last public version, so any feedback would be appreciated. This new version is now a .NET 4.0 web application project, and includes … Continue reading

Posted in IdentityModel | Leave a comment

Fiddler Inspector for Federation Messages

Fiddler is a very useful tool for troubleshooting all kinds of HTTP(s) communications. It also features various extensibility points to make it even more useful. Using the inspector extensibility mechanism, I quickly knocked up an inspector for typical federation messages … Continue reading

Posted in IdentityModel | 1 Comment

Access Control Service v2

A Resource-STS (others call it RP-STS or federation gateway) is a necessity for non-trivial federated identity scenarios. ADFS v2 does an excellent job in fulfilling that role – but (as of now) you have to run ADFS on-premise. The Azure … Continue reading

Posted in IdentityModel | Leave a comment

Moving StarterSTS to the (Azure) Cloud

Quite some people asked me about an Azure version of StarterSTS. While I kinda knew what I had to do to make the move, I couldn’t find the time. Until recently. This blog post briefly documents the necessary changes and … Continue reading

Posted in IdentityModel | Leave a comment

StarterRP v1.2

A small update for StarterRP is now live on codeplex. This version is based on .NET v4 and includes two sample Silverlight clients. Major update to StarterSTS coming soon…

Posted in IdentityModel | Leave a comment

WIF, ASP.NET 4.0 and Request Validation

Since the response of a WS-Federation sign-in request contains XML, the ASP.NET built-in request validation will trigger an exception. To solve this, request validation needs to be turned off for pages receiving such a response message. Starting with ASP.NET 4.0 … Continue reading

Posted in IdentityModel | 5 Comments