ASP.NET Web API: OAuth service provider

asp.net, asp.net-web-api, authorization, oauth, rest

Solution

FWIW, this is planned for the next drop (which will be a release candidate). So if you can wait until then, you'll get this out of the box with demos/samples.

http://aspnetwebstack.codeplex.com/wikipage?title=Roadmap

Since the code is open source, I'd suggest following the codeplex project to see how it progresses. This way you can leverage what gets built as it happens without having to wait for the official RC.

Problem

I want to add OAuth authorization for my RESTful web API, which build on ASP.NET Web API. Preferably to be able to use [Authorize] attribute. Could you give me examples of creating own service provider or using some library?

Original source