If you host your blog on Google’s Blogger service you may have discovered that your blog is an OpenID you can use to log into various web sites that act as OpenID relying parties. But Blogger’s support for OpenID is limited to OpenID 1.1, which is very old and not supported by many relying parties nowadays.
You can upgrade your Blogger hosted OpenID to the new OpenID 2.0 version and log into many more web sites, all while still using your Google account to log in, thanks to Google Profiles.
Here’s how to upgrade your Blogger OpenID to OpenID 2.0:
- Create a Google Profiles profile if you haven’t already done so.
- Visit http://www.blogger.com/, logging in if necessary.
- On the blog you use for an OpenID click Layout.
- Click Edit HTML.
- In the Edit Template area, add the following HTML within the <HEAD> tag of your template:
<link rel='openid2.provider' href='https://www.google.com/accounts/o8/ud?source=profiles' /> <link rel='openid2.local_id' href='http://www.google.com/profiles/YOURGOOGLEPROFILE' /> <link rel='openid.server' href='http://www.blogger.com/openid-server.g' />
- Click Save Template.
Once you add OpenID endpoints to your blog, Blogger will automatically deactivate its own OpenID 1.1 support. Since Google Profiles only supports OpenID 2.0 RPs, the above instructions also re-asserts Blogger as the OpenID 1.1 Provider so that 1.1 RPs still work. So what we have is the best of both worlds now.
Thanks to Breno de Medeiros of Google for the tip on how to keep OpenID 1.1 RPs working.