문제

Good evening, I want to create a RESTful API with ASP.NET Web API 2 and host it in Windows Azure. For this API I will need to have registered users and I want them to register via Facebook or Twitter. The question is, which would be the easiest way to have OAUTH2 integrated with the API in Azure? I saw that it has the ASP.NET Identity integrated with it but I don't know how nicely it works in azure, are there any other options? Thanks in advance!

도움이 되었습니까?

해결책

Your best bet is to leverage Access Control Services (ACS) and OAuth2. This article has a great description of how to set it up: http://www.developerfusion.com/article/147914/protecting-your-aspnet-web-api-using-oauth2-and-the-windows-azure-access-control-service/

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top