开发者

OpenID - How can I use my personal domain as an OpenID provider/forwarder?

开发者 https://www.devze.com 2022-12-27 10:44 出处:网络
I read this comment in the OpenID post on the stackoverflow blog. Kibbee says : One nice feature of OpenID that I use is the ability to delegate the openID verification. So I can set up my own doma

I read this comment in the OpenID post on the stackoverflow blog.

Kibbee says : One nice feature of OpenID that I use is the ability to delegate the openID verification. So I can set up my own domain name, and then put a tiny bit of XML on that page that tells the site (like stackove开发者_运维知识库rflow) to go to some other openid Provider (in my case MyOpenID). The big plus is that I have complete control over my Open ID account. If MyOpenID goes down, I can just switch to another provider. I think anybody who has their own domain name should go for this option.

What is this tiny bit of XML that will allow my server to act as an openid provider/forwarder?


Its called OpenID Delegation, it allows you to use your domain by forwarding any openid requests to the openid provide of choice.

Here is a guide with example code included.

Using openId delegation

An example from the guide:

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

Edit: Unfortunately I can't use my google openid because they don't provide a server uri :(


from the StackOverflow Blog: Using your own URL as your OpenID.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号