简体   繁体   English

Windows Azure中使用Facebook作为IP的联合身份验证

[英]Federated authentication in Windows Azure using Facebook as IP

All answers to my question lead to a year old document ( http://msdn.microsoft.com/en-us/library/windowsazure/gg185919.aspx ) which is not correct anymore - the section "To obtain a Facebook Application ID and Facebook Application Secret" describes the process than cannot be used on today's Facebook site for developers. 我的问题的所有答案都导致使用了一年的文档( http://msdn.microsoft.com/en-us/library/windowsazure/gg185919.aspx )不再正确了-“获取Facebook应用程序ID和Facebook应用程序秘密”描述了开发人员无法在当今的Facebook网站上使用的过程。

I am hoping that someone who has Facebook experience can get me the "current version" of this 7 steps long process described as: 我希望有Facebook经验的人可以将这7个步骤的长期过程的“当前版本”描述为:

  1. Create a Facebook account at http://facebook.com http://facebook.com上创建一个Facebook帐户
  2. Navigate to http://www.facebook.com/developers/ ( my note: this is wrong - the url should be developers.facebook.com ) 导航至http://www.facebook.com/developers/我的笔记:这是错误的-网址应为developers.facebook.com
  3. On the Facebook | 在Facebook上| Developers page, click the + Set Up New Application button, and then follow the instructions. 在开发人员页面上,单击+设置新应用程序按钮,然后按照说明进行操作。 ( What instructions ) 什么指示
  4. On the Facebook | 在Facebook上| Edit <> page, click the Web Site link on the left. 在“编辑<>”页面上,单击左侧的“网站”链接。 ( No such link ) 没有这样的链接
  5. Copy Application ID and Application Secret. 复制应用程序ID和应用程序密钥。 You will use these when you configure Facebook as an identity provider on the ACS Management Portal in the next step 在下一步中将Facebook配置为ACS管理门户上的身份提供者时,将使用这些名称
  6. Specify your fully qualified domain name (FQDN) URL to your namespace, including the leading HTTPS. 指定您的名称空间的标准域名(FQDN)URL,包括领先的HTTPS。 Your namespace will be different. 您的名称空间将有所不同。
  7. Click the Save Changes button 点击保存更改按钮

The step 6 is the biggest problem - it is the insertion of Azure ACS specific information into Facebook's world and was not able to find the field on Facebook App form creation where this belongs to. 步骤6是最大的问题-这是将Azure ACS特定信息插入到Facebook的世界中,而无法在Facebook App表单创建中找到该字段所属的字段。 Obviously, I do not know anything about Facebook's app creation. 显然,我对Facebook应用程序的创建一无所知。

Apologies @nikivancic for not being able to try it out for myself, but I think what you're looking for is in the application settings. 抱歉@nikivancic无法自己尝试,但是我认为您正在寻找的是应用程序设置。

In Facebook 在Facebook

  • Click the edit button on the top right for the application you have just created 单击刚刚创建的应用程序右上角的编辑按钮
  • In the left hand menu, under settings, click on Basic (you might already be there) 在左侧菜单的“设置”下,单击“基本”(您可能已经在此处了)
  • Under 'Select how your app integrates with Facebook', click the 'Website with Facebook Login' option 在“选择您的应用如何与Facebook集成”下,单击“具有Facebook登录名的网站”选项

This will reveal a textbox to enter the url to redirect to on login - I believe this is where you need to enter the URL to your namespace in ACS. 这将显示一个文本框,用于输入登录时重定向到的URL-我相信这是您需要在ACS中输入名称空间的URL的地方。

Again - apologies for not being able to test it right now, but try following this and see if that works 再次-很抱歉无法立即进行测试,但请尝试遵循此步骤,看看是否可行

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM