C# Facebook Connect 使用 ASP.NET Membership Provider 与站点集成

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/645289/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-04 11:34:42  来源:igfitidea点击:

Facebook Connect Integration with a site using ASP.NET Membership Provider

c#asp.netasp.net-mvcfacebook

提问by ccook

Are there any best practices or examples of how to best integrate Facebook connect with an existing ASP.NET Application using the Membership provider (or something similar). I'm sure I can get something going, but, it would be great if there was some information and best practices on this to mitigate any security concerns. Currently I can have a user 'connect' and grab their information, but, I would like to handle them as securely as possible and as similarly as possible to the existing users. Particularly, I would like them to have an entry in the 'users' table.

是否有任何最佳实践或示例说明如何使用会员提供程序(或类似的东西)最好地将 Facebook 连接与现有的 ASP.NET 应用程序集成。我确信我可以做一些事情,但是,如果有一些关于此的信息和最佳实践来减轻任何安全问题,那就太好了。目前我可以让用户“连接”并获取他们的信息,但是,我希望尽可能安全地处理它们,并尽可能与现有用户类似。特别是,我希望他们在“用户”表中有一个条目。

It would be extra helpful for any information relating to ASP.NET MVC.

对于与 ASP.NET MVC 相关的任何信息,这将非常有用。

Some useful links i have found to date:

迄今为止我发现的一些有用的链接:

采纳答案by Chris

Look into RPXNow: https://rpxnow.com/

查看 RPXNow:https://rpxnow.com/

It'll allow you to integrate your app with a whole range of OpenId providers, and i believe with Facebook amongst them, with a nice tidy API. If you only want facebook as a provider, you may want to look elsewhere however

它将允许您将您的应用程序与一系列 OpenId 提供程序集成,我相信其中有 Facebook,具有漂亮整洁的 API。如果您只希望 facebook 作为提供商,您可能想看看其他地方

回答by Dirk

https://rpxnow.com/has changed its name to "Janrain" and is commercialized. It would be nice to know the technology behind it in order to create a solution of your own.

https://rpxnow.com/更名为“Janrain”并商业化。了解其背后的技术以创建您自己的解决方案会很好。

Does anyone know an open source, free solution like "Janrain"? Or a good tutorial, suitable for ASP.NET MVC 2?

有谁知道像“Janrain”这样的开源免费解决方案?或者一个很好的教程,适用于ASP.NET MVC 2?