Category Archives: ASP.NET

IdentityServer: Using WS-Federation with JWT Tokens (and symmetric Signatures)

In this post I described how to use IdentityServer to do WS-Federation with JWT tokens. In that post I used the default IdSrv signing certificate to sign the outgoing JWT tokens. There are scenarios where you don’t have certificates but … Continue reading

Posted in ASP.NET, IdentityServer, WebAPI | 7 Comments

Hawk Support in Thinktecture IdentityModel v3.3

I just released v3.3 of IdentityModel to Github and Nuget. It includes the [Scope] attribute for Web API (here) and the clickjacking protection for MVC (here). But the biggest addition is certainly a full featured implementation of the Hawk authentication … Continue reading

Posted in ASP.NET, IdentityModel, OAuth, WebAPI | Leave a comment

IdentityServer: Using WS-Federation with JWT Tokens

WS-Federation is token agnostic – that means you can also use JWT tokens instead of the default SAML ones. Why would you want to do that? Well – JWT’s a slightly more compact which I think is irrelevant for WS-Federation … Continue reading

Posted in ASP.NET, IdentityModel, IdentityServer | 8 Comments

Update on IdentityModel and IdentityServer

Big news: the Microsoft JWT support is now generally available!. That means that I will update IdentityServer and IdentityModel ASAP (by the end of next week, or rather – after I am done with all my talks at NDC). Speaking … Continue reading

Posted in .NET Security, ASP.NET, IdentityModel, IdentityServer, OAuth, WebAPI | Leave a comment

Support for X.509 Client Certificates in Thinktecture.IdentityModel for Web API

Originally posted on leastprivilege.com:
Another RTM feature I was waiting for is (reasonable) SSL client certificate support in Web API. Just like all the other authentication methods, you configure client certificate support on the AuthenticationConfiguration object. The following code…

Posted in ASP.NET, IdentityModel, Uncategorized, WebAPI | 8 Comments

Annual Identity Update on DotNetRocks

It’s this time of the year again! http://www.dotnetrocks.com/default.aspx?ShowNum=863 “Dominick Baier returns to talk to Carl and Richard about the current state of security in .NET 4.5. Dom starts out talking about how WebAPI has impacted the development of web services … Continue reading

Posted in .NET Security, ASP.NET, Azure, IdentityModel, IdentityServer, OAuth, WCF, WebAPI | 1 Comment

Driving the WS-Federation Handshake from ASP.NET Web API

In general I think the API design of the WS-Federation support in WIF / .NET 4.5 is a bit unfortunate. It was a strange decision to combine the HTTP module (aka the FAM) and the more generic protocol helpers into … Continue reading

Posted in ASP.NET, IdentityModel, WebAPI | 7 Comments

Introducing OAuth2 Code Flow and Refresh Token Support in Thinktecture IdentityServer

We recently merged OAuth2 code flow and refresh token support into the main branch on Github. Please give it a try and tell us if it is working for you or not. After that feedback phase I will release v2.2 … Continue reading

Posted in ASP.NET, IdentityModel, IdentityServer, OAuth, WebAPI | 17 Comments

Alternative to Thread.CurrentPrincipal in ASP.NET Web API

Those who know me also know that I was always an advocate of Thread.CurrentPrincipal (or ClaimsPrincipal.Current in .NET 4.5). But I also understand that some people (or frameworks) don’t like ambients and rather deal with instance variables. To cater for … Continue reading

Posted in ASP.NET, IdentityModel, WebAPI | Leave a comment

Claims-based Identity & Access Control Pre-Conference Workshop at NDC 2013

This is great news! If you are going to NDC, you can take my identity & access control training as a pre-conference workshop. I have divided the content in a “web apps” day and a “services & the cloud” day. This … Continue reading

Posted in .NET Security, ASP.NET, Azure, Conferences & Training, IdentityModel, IdentityServer, OAuth, WCF, WebAPI | Leave a comment