Category Archives: ASP.NET

Update on IdentityServer

Preparing for the things to come (very soon), I had to rename the Github repositories for IdentityServer. Sorry for any inconvenience. V1 – https://github.com/thinktecture/Thinktecture.IdentityServer.v1 V2 (beta next week) – https://github.com/thinktecture/Thinktecture.IdentityServer.v2

Posted in ASP.NET, IdentityModel, IdentityServer, WCF, WebAPI | 6 Comments

ClaimsIdentity, 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 implementations of that interface, e.g as soon as you … Continue reading

Posted in .NET Security, ASP.NET, IdentityModel, IdentityServer, WCF, WebAPI | 15 Comments

Thinktecture.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!

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

Update 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 only. You can … Continue reading

Posted in ASP.NET, IdentityModel, IdentityServer, WCF, WebAPI | 13 Comments

WIF & .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 … Continue reading

Posted in .NET Security, ASP.NET, Azure, Conferences & Training, IdentityModel, IdentityServer, WCF, WebAPI | 6 Comments

MachineKey based Session Protection for WIF

When using the session facility in WIF (e.g. in ASP.NET with the SessionAuthenticationModule), the session token must be protected somehow. By default WIF uses the Windows built-in DPAPI mechanism. While DPAPI is easy to use in single-server scenarios it has … Continue reading

Posted in ASP.NET, IdentityModel | 36 Comments

Managing ASP.NET Membership and Roles without Visual Studio

I made a conscious decision to not include any user management features in IdentityServer. It’s a token service. In addition it is based (at least by default) on the standard ASP.NET membership, roles and profile features. So there should be … Continue reading

Posted in ASP.NET, IdentityServer | 9 Comments

Replacing ASP.NET Forms Authentication with WIF Session Authentication (for the better)

ASP.NET Forms Authentication and WIF Session Authentication (which has *nothing* to do with ASP.NET sessions) are very similar. Both inspect incoming requests for a special cookie that contains identity information, if that cookie is present it gets validated and if … Continue reading

Posted in ASP.NET, IdentityModel | 17 Comments

Mixing Forms and Token Authentication in a single ASP.NET Application

I recently had the task to find out how to mix ASP.NET Forms Authentication with WIF’s WS-Federation. The FormsAuth app did already exist, and a new sub-directory of this application should use ADFS for authentication. Minimum changes to the existing … Continue reading

Posted in ASP.NET, IdentityModel | 3 Comments

Protecting Cookies: Once and For All

Every once in a while you run into a situation where you need to temporarily store data for a user in a web app. You typically have two options here – either store server-side or put the data into a … Continue reading

Posted in ASP.NET, IdentityModel | Leave a comment