【问题标题】:Google Apps OpenID urlGoogle Apps OpenID 网址
【发布时间】:2012-01-16 09:33:13
【问题描述】:

问题:

我的组织 ExampleFooBar 使用 Google Apps。在我们的网站上我想要 启用 OpenID 单点登录(如 StackOverflow),但只允许 @examplefoobar.com 用于登录的电子邮件地址。我应该使用什么 OpenID url 用于 Google Apps 电子邮件地址?

  • 根据 Include OpenId in drupal 上的 cmets,域 http://www.google.com/profiles/<username> 可用于普通 Google 帐户,但这不适用于 Google Apps 帐户。

  • Google 还提供了网址 https://www.google.com/accounts/o8/id,但使用该网址将允许找到我们网站登录页面的任何 google 用户登录,因为登录页面接受任何 google 帐户名称。

    李>

我可以使用什么 Google URL 来确保只有 @examplefoobar.com 电子邮件地址可以登录?

Google Apps OpenID 的 Google 文档位于 http://code.google.com/googleapps/domain/sso/openid_reference_implementation.html,但毫无帮助。

【问题讨论】:

标签: openid google-apps google-openid


【解决方案1】:

由 aaronsnoswell:

OpenID url google.com/accounts/o8/site-xrds?hd=examplefoobar.com 会将电子邮件条目限制为 @examplefoobar.com。此外,我必须从 Google Apps 管理员页面启用 OpenID 单点登录。希望这对某人有帮助!

http://jeremiahlee.com/blog/2009/09/28/how-to-setup-openid-with-google-apps/

Google Apps (for business) OpenID login for ASP.NET intranet site

【讨论】:

  • 感谢您发布我的答案:)
【解决方案2】:

OpenID url https://google.com/accounts/o8/site-xrds?hd=yourdomain.com 会将条目限制为 @yourdomain.com。您还需要从 Google Apps 管理页面 http://www.google.com/a/cpanel/yourdomain.com/SetupIdp 启用 OpenID 单一登录

您还应该在您的网站 yourdomain.com/openid 上添加 X-XRDS-Location 标头,格式为:

X-XRDS-位置:https://www.google.com/accounts/o8/site-xrds?ns=2&hd=yourdomain.com

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2011-02-02
    • 2010-11-15
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多