【问题标题】:DotNetOpenAuth - Using OpenIdButton for Google AppsDotNetOpenAuth - 为 Google Apps 使用 OpenIdButton
【发布时间】:2010-05-27 16:58:05
【问题描述】:

我是 ASP.NET 新手,我正在尝试为内部 Web 应用程序设计 OpenID/SSO 系统。 Web 应用程序非常简单,身份验证当前由具有用户名和密码的数据库管理。我想用 Google Apps 帐户替换存储在数据库中的现有帐户。

我已经下载了最新的 DotNetOpenAuth-3.4.3.10103 包,并在 IIS 上启动并运行了 OpenIdRelyingPartyWebForms 示例。我只使用一个指向开发 Google 域的 OpenIdButton 对象构建了自己的登录页面。

该按钮在 FireFox 中似乎可以正常工作,至少它会将我转发到 Google Apps 登录,但是当我在 IE 中加载同一页面时没有任何反应。当我点击 Google 按钮时,什么也没有发生,压缩。示例中给出的 login.aspx 页面中的 Yahoo 按钮也是如此。

这是我正在使用的 .aspx 代码...

<rp:OpenIdButton runat="server" ImageUrl="http://www.google.com/accounts/google_transparent.gif" Text="Login with Google!" ID="googleLoginButton" Identifier="https://www.google.com/accounts/o8/site-xrds?hd=dev.connexcloud.com" />

【问题讨论】:

    标签: asp.net dotnetopenauth google-apps


    【解决方案1】:

    我认为适用于 .NET 的 Google Apps Marketplace 教程回答了您的问题:

    http://code.google.com/googleapps/marketplace/tutorial_dotnet.html

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-02-22
      • 2022-09-25
      相关资源
      最近更新 更多