Changing My OpenID
After consolidating my sites recently, I noticed that I could no longer log in to sites with my old OpenID. After a moment’s reflection, I realized that the traffic for the OpenID was being redirected to the new site and thus looking to an OpenID provider as if my OpenID was, in fact, the new homepage URL. Oops! :)
To rectify this, I had to do a couple of things:
First, I installed a YADIS service discovery file in the docroots of both sites:
1 2 3 4 5 6 7 8 9 10 11
Then, I installed nginx rewrite rules on both sites to handle OpenID providers seeking authentication:
1 2 3 4 5 6
This gives me two OpenID’s, one for the old site and one for the new, both of which are backed by the same OpenID provider and delegate. All set, right?
1 2 3
I installed this rule under the others so that if Clickpass ever gets their act together, they will get the YADIS file instead.
As well, for the old site, I had to add a dummy index.html, and install the old method of OpenID delegation on both sites by adding the following tags to the head section of the HTML:
This works, but sucks because an OpenID provider has to suck down the whole page in order to get those two lines.
In any case, both of my OpenIDs are working now. I hope this post will help others change their OpenIDs sanguinely!