About     Search     Feed

Nilesh D Kapadia


Music     Twitter     Github

OpenID's delegation feature makes it easy to use with your own domain name

After initially looking at OpenID I wanted to start using it, but I didn’t want to be tied to one provider. So initially I was planning on running my own identity server. But after watching a very informative talk on it (by Simon Willison) I learned that the ability to use delegation allows you to easily use your own domain name for your identity URL, while delegating to another provider. This is a much easier option than running your own identity server. So for example, if you were using myOpenID as your provider, to delegate to it from your own domain, use the following HTML (replacing “yourusername”):

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

With delegation you can enjoy the benefits of using OpenID (easier logins and account creation), without being locked-in to any one provider.

If you’re interested in learning about OpenID in general, watch the the talk I mentioned above.

© 2017 Nilesh D Kapadia