Authorization in ASP.NET Web API
So far I have mostly focused on authentication in Web API. At the end of the day you go through all those hoops just to be able to authorize the user after you know who he is. I am currently … Continue...
View ArticleApproaches to (Server-side) Authorization
Authorization is a difficult topic. The implementation is typically so application/developer specific, that when you ask ten people how they do it, you most likely get ten different answers. I think...
View ArticleExtending Authorization in ASP.NET Web API – Part 1: Basics
From my last post you can maybe tell that I prefer to keep my business and authorization logic separate. I am also not a huge fan of annotating my façade with role requirements like the [Authorize]...
View ArticleImportant: Setting the Client Principal in ASP.NET Web API
Due to some unfortunate mechanisms buried deep in ASP.NET, setting Thread.CurrentPrincipal in Web API web hosting is not enough. When hosting in ASP.NET, Thread.CurrentPrincipal might get overridden...
View ArticleNew unified Nuget Package for Thinktecture.IdentityModel
I uploaded a Nuget package for Thinktecture.IdentityModel that contains both the 4.0 and 4.5 versions. That should make it easier. We will try to keep both framework versions as closely in sync as...
View ArticleUpdate on Thinktecture.IdentityServer for .NET 4.5
I made some progress on the 4.5 version. It is now a real .NET 4.5/MVC 4 application and I made some minor changes to data handling: Switched to the new universal providers for ASP.NET Switched to SQL...
View ArticleSession Token JavaScript Sample for Thinktecture.IdentityModel and Web API
Christian has added a new JavaScript sample that shows how to use the session token mechanism. It includes persisting the session token in local storage. Nice! github Filed under: IdentityModel, WebAPI
View ArticleCORS support in WebAPI, MVC and IIS with Thinktecture.IdentityModel
Brock has added a really nice implementation of CORS to Thinktecture.IdentityModel (both 4.0 and 4.5). Here are all the details. Filed under: IdentityModel, WebAPI
View ArticleThinktecture.IdentityModel Nuget updated to RTM
Title says it all http://nuget.org/packages/Thinktecture.IdentityModel Filed under: IdentityModel, WebAPI
View ArticlePer-Route Claims Transformation in ASP.NET Web API
ASP.NET Web API RTM includes support for per-route message handlers. This allows to do low level work very early in the pipeline (after global message handlers, before authorization filters). See here...
View ArticleSupport for X.509 Client Certificates in Thinktecture.IdentityModel for Web API
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...
View ArticleWIF & .NET 4.5 Identity and Access Control Training
Just a quick update – I will run my public WIF class for the last time on the 14th/15th November in Oslo (the dates on the page are not correct anymore). After that there will be a brand new .NET …...
View ArticleUpdate on Thinktecture IdentityServer
It’s been quiet lately around IdSrv, and the reason is that we are actively working on it But to clear up some confusion, this is the current state: The current stable versions are for .NET 4.0/WIF...
View ArticleThinktecture.IdentityServer for .NET 4.5 CTP 1
You can get stable bits now on github. The current version supports WS-Federation, WS-Trust, OAuth2 (resource owner credential profile) and a simple HTTP endpoint. Feedback is always welcome! Filed...
View ArticleClaimsIdentity, IsAuthenticated and AuthenticationType in .NET 4.5
There is a subtle (breaking) change of behavior between WIF 1.0 and .NET 4.5. The IIdentity interface has the IsAuthenticated property. This is typically set to true whenever you deal with...
View ArticleUpdate on IdentityServer
Preparing for the things to come (very soon), I had to rename the Github repositories for IdentityServer. Sorry for any inconvenience. V1 –...
View ArticleThinktecture IdentityServer v2 BETA
IdentityServer v2 beta is done! You can get it from the new thinktecture organization page on github as well as the new project page for IdentityServer (or directly from the download page). What’s...
View ArticleSetup Thinktecture IdentityServer v2 in 7 minutes
Here’s how: https://vimeo.com/51088126 HTH Filed under: .NET Security, ASP.NET, IdentityModel, IdentityServer, WCF, WebAPI
View ArticleSamples for Thinktecture.IdentityModel
Many people seem to overlook the samples directory in IdentityModel. So I thought I quickly summarize what you can find there: CorsSamplesSamples and test that show the usage of the CORS support in Web...
View ArticleMixing MVC + Forms Authentication and Web API + Basic Authentication
Got several emails recently with questions on how to enable the following scenario: ASP.NET application (e.g. MVC) using Forms Authentication and Web APIs using Basic Authentication to authenticate...
View Article