如何使用多个OpenID? [英] How do I use more than one OpenID?

查看:156
本文介绍了如何使用多个OpenID?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试了多个OpenID,因此有多个OpenID.当人们使用OpenID时,可能会出现不同的供应商,因此我可能希望切换提供者.因为所有ID都是我,并且都使用相同的电子邮件地址进行了身份验证,所以我不应该能够使用其中的任何一个登录到堆栈溢出并能够访问相同的帐户吗?

I have more than one OpenID as I have tried out numerous. As people take up OpenID different suppliers are going to emerge I may want to switch provinders. As all IDs are me, and all are authenticated against the same email address, shouldn't I be able to log into stack overflow with any of them and be able to hit the same account?

推荐答案

我认为每个实施OpenID的站点都必须构建其软件,以允许多个条目输入您的OpenID凭据.但是,仅仅因为一个站点不允许您创建多个条目并不意味着您不能换掉OpenID供应商.

I think each site that implements OpenID would have to build their software to allow multiple entries for your OpenID credentials. However, just because a site doesn't allow you to create multiple entries doesn't mean you can't swap out OpenID suppliers.

第1步:获取一个OpenID.您可以使用许多服务器和服务.我使用 http://www.myopenid.com

STEP 1: Get an OpenID. There a lots of servers and services out there you can use. I use http://www.myopenid.com

第2步:在模板顶部的<HEAD></HEAD>标记之间,将这两行添加到博客的主模板中.大多数博客引擎都支持编辑模板,因此这是一件容易且非常可能的事情.

STEP 2: Add these two lines to your blog's main template in-between the <HEAD></HEAD> tags at the top of your template. Most all blog engines support editing your template so this should be an easy and very possible thing to do.

示例:


<link rel="openid.server" href="http://www.myopenid.com/server" />  
<link rel="openid.delegate" href=http://YOURUSERNAME.myopenid.com/ />

这将使您可以使用域/博客作为OpenID.

This will let you use your domain/blog as your OpenID.

Scott Hanselman 和

Credits to Scott Hanselman and Simon Willison for these simple instructions.

现在,您的OpenID指向您的博客,您可以更新链接rel href指向新的供应商,并且您与博客的OpenID绑定的所有地方都将使用新的供应商.

Now that your OpenID points to your blog, you can update your link rel href's to point to a new supplier and all the places that you've tied your blog's OpenID will use the new supplier.

这篇关于如何使用多个OpenID?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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