Last post Jul 11, 2014 10:10 AM by BrockAllen
Jul 09, 2014 10:43 AM|VansFannel|LINK
I'm developing an ASP.NET MVC Web Api with Visual Studio 2013, C# and .NET Framework 4.5.1.
I was reading this
article and it is very interesting. It only talks about ASP.NET MVC applications and it doesn't say anything about how to implemented it with Web Api.
I think I can use it with Web Api but I don't know how because, as I read on the article, I will need a login page and a web api doesn't have one.
If I will consume that web api from mobile phones (iOS, Android, Windows Phone, etc.); what do I have to do?
Maybe I will need a login form on the mobile app, or maybe I will need a login page on my web api to allow login on Google, Facebook, etc.
Jul 09, 2014 10:48 AM|BrockAllen|LINK
Look into the OAuth2 implicit flow.
Jul 11, 2014 10:05 AM|VansFannel|LINK
I'm new on ASP.NET MVC Web Api development and I don't understand: "Look into the OAuth2 implicit flow."
Jul 11, 2014 10:10 AM|BrockAllen|LINK
OAuth2 is a way to obtain tokens for authorizing API calls. Microsoft partially supports it with their Katana authentication middleware.