Setting up OpenID on your own domain

by Mike on 10/1/2011

in Perpetual Beta : Release, The Intarweb

A little bit of nerdery, inspired by the OpenID-friendly login system at SB Nation’s Baseball coverage:

If you want to set up an OpenID authentication using your Google account—and hey, who doesn’t—on a domain that you control, it’s easy as pie. Gina Trapani shows us how.

First, Google Profiles (and, it turns out, and ClaimID and a bunch of other OpenID providers) can work with your domain name, so all I have to do is add a few tags to your HTML to get things set up. Second, you can specify multiple OpenID providers, so if was down or Google Profiles was down, you can have a provider fallback. Sweet. Now, in the tags of you will find the following:

<link rel="openid2.provider" href="" ></link> 
<link rel="openid2.local_id" href="" ></link>

That sets Google Profiles as the authorizing party for my OpenID, but my OpenID URL is You can see my new OpenID in action right here; I signed into this very site with my new OpenID and posted a comment.

You will, of course, want to substitute your own Google profile for Gina’s. I’ve done so on the main page (view source). Also, I think it’s now sufficient to simply use this:

<link rel="openid2.provider" href="" ></link>

Try ‘em both and let me know how they work for you.

  • New mobiles

    thanks for this post but can you tell How To Use Your Domain Name As An OpenID Login?

Previous post:

Next post: