How To Create Your OpenID

Want to setup your own openid on your own URL? This is how you can do this using the concept of delegation:

  1. Go to MyOpenID and register your OpenID with your username (<ID>).
  2. Put the following code in the header of the site that you ACTUALLY want to use as openid (for example http://myname.net):

    <link rel="openid.server" href="http://www.myopenid.com/server" />
    <link rel="openid.delegate" href="http://<ID>.myopenid.com/" />
    <meta http-equiv="X-XRDS-Location" content="http://<ID>.myopenid.com/xrds" />
  3. Don’t forget to replace <ID> with your own ID, and don’t forget the last line which is really needed for MyOpenID.
  4. Now you can login to any ite with your own OpenID (for example http://myname.net)

Why would you do this? My reason is that this way I can simply change OpenID provider by just changing this piece of code. The advantage of this again is that if your real provider quits or proves to be unreliable, you can simply switch and still login at any site with your unique OpenID.

A obvious disadvantage is that your server that you use for this delegation code must be reliable. That is why I am thinking of moving this site to dreamhost.

One Comment to 'How To Create Your OpenID'

Subscribe to comments with RSS or TrackBack to 'How To Create Your OpenID'.

  1. thuhn
    thuhn said,

    Hello,
    it´s good to see that you are one of the early adopters who has implemented OpenID on his site and if this comment shows up, it works great :).
    I would like to spread the word about this emerging technology and have submitted your site to “The OpenID Directory“. I hope this is fine for you.
    BTW: You can let your readers vote for your site and claim ownership at any time to make changes to your description etc.
    Thanks and keep up the good work!
    Thomas Huhn

:: Trackbacks/Pingbacks ::

No Trackbacks/Pingbacks

Leave a Reply

© Cristiano on Tech/Life • Powered by Wordpress • Themed based loosely on the Swiss Cool theme.