SSO,使用Google Apps用户数据库

编程入门 行业动态 更新时间:2024-10-27 22:19:05
本文介绍了SSO,使用Google Apps用户数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我发现了如何从Google Apps实施SSO的大量资源,换句话说,当登录Google Apps时,使用了第三方用户数据库来对用户进行身份验证.

I have found loads of resources on how to implement SSO from Google Apps, in other words using a third party user database to authenticate users when logging into Google Apps.

我想反过来做;我们正在制作供内部使用的Web应用程序,并且我们已经对我们满意的Google Apps进行了有效的部署.我想通过Google Apps管理用户,并且希望用户使用其Google Apps凭据登录.

I want to do it the other way around; we are making a web application for internal use, and we already have a functioning deployment of Google Apps we are quite satisfied with. I want to manage my users from Google Apps, and I want the users to log in using their Google Apps credentials.

完全有可能获得其凭据,然后使用提供的凭据自动尝试登录Google的服务器,但这并不是理想的解决方案.

It would be quite possible to take their credentials, then automatically attempt to log in on Google's servers using the credentials provided, but that's not exactly an ideal solution.

有什么建议吗?

推荐答案

在Provisioning API部分(code.google/Google Apps/Management API's/Provisioning)中查看ClientLogin API.

Have a look at the ClientLogin API, in the Provisioning API section (code.google / Google Apps / Management API's / Provisioning )

它使您可以验证给定用户名和密码的用户.

It allows you to authenticate users given their username and password.

请注意,OpenID是执行此操作的一种更好的方法,而您的帖子中没有任何内容可以解释为什么这不是更好的选择.

Note that OpenID is a MUCH better way of doing this, and nothing in your post explains why this would not be a better choice.

ClientLogin问题:

Problems with ClientLogin:

  • Google会不喜欢您(他们希望人们使用OAuth等)
  • 您偶尔会收到403和验证码错误
  • 这里没有SSO,与OpenID不同

最后一点实际上很重要-自己管理登录听起来像是个好主意,但对于大多数用户而言,BUT并不是首选...

That last point is actually important - managing the login yourself sounds like a good idea BUT is not the preferred option for most users...

更多推荐

SSO,使用Google Apps用户数据库

本文发布于:2023-10-30 03:16:05,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1541606.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:数据库   用户   SSO   Google   Apps

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!