如何让一个已有的网站(拥有庞大的用户群)成为openID提供商?
我想建立一个现有的网站,该网站作为 openID 提供商拥有庞大的用户群。虽然我找到了大量关于这个主题的文章,但我可以看到所有文章都讨论指向现有 openID 提供商服务器,如 Verisign、openID 等。但我正在寻找这些,
- 设置 自己的openID服务器
- 如何使现有网站成为openID提供商?
- 网站的现有用户如何将其现有的 id 充当 openID?
提前致谢
I would like to make an existing website which is having a huge user base as an openID provider. Though I find tons of articles regarding this subject, I could see all the articles talk about pointing to an existing openID provider server like Verisign, openID, etc. But I looking for these,
- Setting up own openID server
- How to enable an existing website to be an openID provider?
- How the existing users of the website to give their existing id to act as an openID?
Thanks in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
OpenID 协议位于此处。 在您疯狂之前,您需要解决一些重要的细节。按重要性排序:
http://username.mysite.com
。用户需要能够控制在该 URL 上显示的内容(如果不是他们的话)。如果你不能提供这些,你就不应该做openid。注意:在开发者页面上,有一系列涵盖协议不同方面的技术文档——一些其中是可选的:
这将是第一个寻求帮助的地方。
The OpenID protocol is located here. There are a few important details you need to iron out before you go crazy. In order of importance:
http://username.mysite.com
. The user needs to be able to control what gets displayed at that URL if it is not them.If you can't provide these, you shouldn't do openid. NOTE: on the Developers page, there are a series of technical documents that cover different aspects of the protocol--some of them are optional:
That would be the first place to go for help.
您可以使用此资源
当我在 PHP 网站上实现 openID 时,此链接非常有帮助:
You could use this resource
When I implemented openID on a PHP site, this link was very helpful:
请参阅 OpenID 基金会网站上标题为“成为 OpenID 提供商”的页面。它为开发人员提供软件库。
See the page titled "Become an OpenID Provider" at the OpenID Foundation website. It provides software libaries for developers.
您没有指定站点的编码语言,因此最好的起点是查看允许您运行身份服务器的现有库 openid 库。如果您使用的是 php 框架,那么大多数框架都有自己的模块(例如 zend、symfony)。
You don't specify what language your site is coded in so the best place to start would be to look at the existing libraries that allow you to run an identity server openid libraries. If you're using a php framework then most have their own module (zend, symfony for example).