OpenID 傻瓜式的吗?
我正在考虑将 openid 小部件添加到我正在开发的工具包中。
其中一个重要部分是保持 UI 尽可能简单 - 尽管有很多可用的 openid 工具,但它们主要依赖于提供文本输入框来输入 URL - 然而,正如此处演示的那样 - 有很多 openID 提供程序使用通用 URL 作为端点 - 因此只需单击按钮/图像即可。我想提供这项服务。事实上,我想提供将提供者限制在批准列表中的设施。
(我从各个提供商那里获得了 openId - 但不知道 URL 是什么 - 这并不妨碍我 禁止使用此类提供可点击登录的网站!)
不幸的是Valdimir 的 openid 类, Janrains PHP OpenID 库,Dope OpenId 和 LightOpenId 只需提供文本框。
是否有 openID 提供商 URL 目录?具有可重新分发的图形?
我确实找到了 IDselector.com (您需要 OpenId 才能访问该网站的大部分内容 - 但是他们不在自己的网站上实现他们的小部件!!!!),但不太清楚许可是什么。
我还应该注意其他/较新的库吗? 这篇帖子已有近 3 年历史了!
蒂亚
C.
I'm thinking about adding an openid widget to a toolkit I'm developing.
An important part of that is keeping the UI as simple as possible - although there's lots of openid tools available they mostly rely on providing a text input box to enter a URL - however as demonstrated here on SO - there are a lot of openID providers which use a generic URL as the endpoint - so it's simply a matter of clicking on a button/image. I want to provide this service. Indeed, I want to provide the facility to restrict the providers to an approved list.
(I've got openIds from various providers - but do not have a clue what the URLs are - that doesn't prevent me from using sites like this which provide clickable sign-ins!)
Unfortunately Valdimir's openid class, Janrains PHP OpenID libs, Dope OpenId, and LightOpenId just provide the text box.
Is there a directory of openID provider URLs anywhere? With redistributable graphics?
I did find IDselector.com (where you need an OpenId to access most of the site - but they do not implement their widget on their own site!!!!) but its not very clear what the licensing is.
Are there other/newer libs I should be aware of? This S.O. post is nearly 3 years old!
TIA
C.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
其他一些选择器:
我个人最喜欢的是 openid-实数选择器 (演示)。
Some more selectors:
My personal favorite is openid-realselector (demo).
open-id-selector 项目提供了一种基于 jQuery 的方法来生成简单的表单用于选择 Open ID 提供商。它附带了几个常见的 OpenID 提供程序和相应的图标。
请此处查看非功能演示。
请注意,这只是解决方案的一部分;您仍然必须在服务器端实现 OpenID 身份验证,并配置 open-id-selector 来利用它(通过将表单定向到适当的路径)。
The open-id-selector project provides a jQuery-based method of generating a simple form for selecting an Open ID providor. It comes with several common OpenID providors and the appropriate icons.
See a non-functional demo here.
Note that this is only part of the solution; you must still implement OpenID authentication on the server-side, as well, and configure open-id-selector to leverage it (by directing the form to the appropriate path).
集成 WebFinger,因此您只需提供电子邮件输入字段即可。
Integrate WebFinger, so you just have to offer an email input field.