Category Archives: IdentityModel

Thinktecture IdentityServer v2: Using the OAuth2 Implicit Flow with JavaScript

Nice blog post from Christian! http://weblogs.thinktecture.com/cweyer/2012/11/oauth2-in-thinktecture-identityserver-v2-implicit-grant-flow-with-javascript.html

Posted in IdentityModel, IdentityServer, WebAPI | Leave a comment

Thinktecture IdentityServer v2: Federation with Web Identities

Brock has a nice post describing the OAuth2 work we did in IdentityServer v2. Check it out! http://brockallen.com/2012/11/04/oauth2-in-thinktecture-identityserver-oauth2-identity-providers/

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

OAuth2 in Thinktecture IdentityServer v2: Resource Owner Password Flow

IdentityServer v2 supports the OAuth2 “Resource Owner Password Credential Flow” (see the spec for more details). This flow is for so called “trusted applications”, meaning the user gives his username/password to an application, and this app then requests a token … Continue reading

Posted in IdentityModel, IdentityServer, WebAPI | 20 Comments

Update on Thinktecture IdentityServer v2 Beta (Refresh 2)

Just wanted to give you a quick update what’s happening with IdentityServer. Brock and I were working really hard to get some new features in, e.g. Mobile support for the login and home realm discovery pages Standards compliant OAuth2 flows … Continue reading

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

Using Claims-based Authorization in MVC and Web API

.NET 4.5 ships with a claims-based authorization infrastructure around the ClaimsAuthorizationManager class. I have written about that before, and I am still a fan of that approach (not necessary of the non-existent tooling). Claims-based authorization encourages you to have a … Continue reading

Posted in .NET Security, ASP.NET, IdentityModel, WebAPI | 48 Comments

Extensions to the Web API/MVC + Forms/Basic Auth Sample: Claims Transformation and AJAX

I got two questions on the sample from yesterday. AJAX Clients”Will AJAX clients be able to use the Forms Authentication cookie against Web API?” Yes, indeed. In that case add the following flag to the authentication configuration: var authConfig = … Continue reading

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

Mixing 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 against a unified user store. This is actually quite simple to achieve … Continue reading

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

Federation Gateway and Home Realm Discovery in Thinktecture.IdentityServer v2

I just uploaded a “feature-refresh” of the IdSrv Beta to github. This includes amongst some bug fixes the ability to use IdSrv as a federation gateway/home realm discovery page. This gives you the ability to use IdSrv to broker trust … Continue reading

Posted in .NET Security, ASP.NET, IdentityModel, IdentityServer | 1 Comment

Thinktecture IdentityServer 2 Tutorial: The 1st Web Application

https://vimeo.com/51666380 Shows how to setup a web application with identity server for authentication. Have fun!

Posted in .NET Security, ASP.NET, IdentityModel, IdentityServer | 2 Comments

Samples 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 API, MVC and plain IIS. Web … Continue reading

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