Sunday, March 15, 2015

Getting started with OAuth2 and ASP.NET Web API

In the past, if you wanted to implement a Token Issuing Service, you would have probably created a Security Token Service using WCF and Windows Identity Foundation.

Well, with the recent releases of ASP.NET Web API, creating such functionality is much easier with support for OAuth2.

In fact, the default ASP.NET Web API Template provides support for OAuth2 out-of-the-box as is outlined in this article: http://www.asp.net/web-api/overview/security/individual-accounts-in-web-api

If you want a slightly more involved and detailed discussion of the individual facets of OAuth2, you can check out this article: http://www.asp.net/aspnet/overview/owin-and-katana/owin-oauth-20-authorization-server

No comments:

Post a Comment