谷歌企业应用套件(业务)OpenID登录为ASP.NET Intranet网站 [英] Google Apps (for business) OpenID login for ASP.NET intranet site

查看:220
本文介绍了谷歌企业应用套件(业务)OpenID登录为ASP.NET Intranet网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我公司使用谷歌应用服务我们的电子邮件/商务应用提供商。每一位员工在这里有一个帐户。

我期待到建立一个asp.net web应用程序,允许用户签到(使用谷歌的Apps帐户),然后完成某些事情(第一目标:保持员工的技能的当前记录)<。 / p>

我开始之前,我想知道,如果使用谷歌Apps的一个OpenID登录系统是比任何做它的标准方式比较困难,或者如果我需要知道的缺陷。

我们有一个域名,唯一的要求是用户具有存在一个开放的帐户。

在此先感谢您的想法对这个!


解决方案

我对你的幻灯片从谈话我给一个月前为谷歌企业应用套件帐户的OpenID

<一个href=\"http://www.slideshare.net/timdream/google-apps-account-as-openid\">http://www.slideshare.net/timdream/google-apps-account-as-openid

基本上有这样做的两种方式。


  1. 按照谷歌文档的补丁的你ASP.net的OpenID库接受谷歌Apps的OpenID的,是不是从声明的网址确实发现。

  2. 在声明的网址安装了一套发现信息( / OpenID的?ID = XXXX 在您的网站),让你的谷歌Apps的OpenID的行为以同样的方式present的OpenID做。

无论哪种方式,完成后,用户将能够登录到具有以下网址的ASP.net应用程序:

https://www.google.com/accounts/o8/site-xrds?hd= [yourappsdomain]

My company uses Google Apps for our e-mail/business app provider. Every employee has an account here.

I'm looking into creating an asp.net web app that would allow users to sign-in (using their Google Apps account) and then accomplish certain things (first goal: keep a current record of the employee's skillset).

Before I get started, I wanted to find out if an OpenID login system using Google Apps is any more difficult than doing it the standard way, or if I need to be aware of any pitfalls.

We have one domain, and the only requirement would be that the user has an open account that exists.

Thanks in advance for your thoughts on this!

解决方案

I have slides for you from a talk I gave a month ago: Google Apps Account As OpenID

http://www.slideshare.net/timdream/google-apps-account-as-openid

Basically there are two ways of doing this.

  1. Follow the Google documentation, patch your ASP.net OpenID library to accept Google Apps OpenID that is not really discoverable from the claimed URL.
  2. Install a set of discovery information on the claimed URL (/openid?id=XXXX on your website) to make your Google Apps OpenID behaviors the same way present OpenIDs do.

Either way, after completion user will be able to login to your ASP.net app with following URL:

https://www.google.com/accounts/o8/site-xrds?hd=[yourappsdomain]

这篇关于谷歌企业应用套件(业务)OpenID登录为ASP.NET Intranet网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆