是否可以在不使用 acs/azure 的情况下使用带有 WIF 的 facebook 身份验证?或者这是绝对必要的?
3 回答
是的,这是可能的,但您必须编写一些代码。有一个 WIF 扩展为框架添加了 OAuth 2.0 支持:
https://connect.microsoft.com/site1168/Downloads
您可能会考虑的另一个选择:
您也可以编写自己的 STS 并将DotNetOpenAuth添加到其中。
IdentityServer在(隐藏的)页面中使用 OpenId 执行类似的操作。这是基于 Matias Woloski 的帖子,在此处更新。
The Facebook Platform uses OAuth 2.0 for authentication and authorization. So when you try to build an authentication application for Facebook you are actually looking for a provided which supports Claim Based authentication. WIF does provide ASP.NET and WCF based framework for you to authenticate your application with Facebook through a claim based Identity Framework. (Windows Azure ACS simplify this process to bare minimum level and that is what you pay for.)