Requesting a Token from ADFS 2.0 using WS-Trust with Username and Password

In a previous post I showed how to request tokens to ADFS using WS-Trust based on the identity of the user that requests the token. Due to I’ve received a lot of requests on the subject, here’s the code to do the same but using username and password, I mean request tokens from ADFS 2.0 [...]

Request a token from ADFS using WS-Trust from iOS, Objective-C, IPhone, IPad, Android, Java, Node.js or any platform or language

This is not just a SEO friendly name, in this post I want to show you a very easy way of providing Active Directory authentication in your apps, no matter the platform or language that you use, the only requirement is to be able to make an http post. Request for a Security Token To [...]

Claims Identity + C# 4.0 Dynamics

In this post I want to share with you something that I always use when I work with claim-based identity using Windows Identity Foundation. As you probably know, when you use claim-based identity in a project using WIF you have access to the user claims in the System.Thread.CurrentPrincipal.Identity property, but there is an small problem, [...]

Requesting a Token from ADFS 2.0 using WS-Trust

I’m writing this post because I saw a lot of articles on MSDN saying that to manually request a token from ADFS (something very useful for troubleshooting) you need to use the WSTrustClient class. The WSTrustClient class has been replaced for the WSTrustChannelFactory class, in order to continue with the WCF programming model with Channels. [...]