Setting up your personal site with Open ID delegation using chi.mp
My goal was to be able to use my chi.mp Open ID account (charliepark.mp) to log in to my Backpack account. BUT, I didn’t just want to log in through chi.mp directly … I wanted my Backpack account to log in via my personal site (charliepark.org). So on 37signals’ Backpack Open ID login form, rather than entering “charliepark.mp”, I wanted to enter “charliepark.org”, and have that push through to chi.mp. If I’m logged in at chi.mp, Backpack lets me in, even though it’s checking at charliepark.org.
In the code at charliepark.org, I entered the following in the HEAD of the page:
<head>
<link rel=”openid.server” href=”https://chi.mp/s/charliepark.mp/server” />
<link rel=”openid.delegate” href=”http://charliepark.mp/” />
… other head stuff that doesn’t matter here …
</head>
And now, I can get in to Backpack through “charliepark.org”.
I’m not sure if it would have worked with just charliepark.mp/server, rather than the whole chi.mp/s/charliepark.mp/server bit (probably?), but I know this way works. So there you go. Also, note that Tumblr is converting my quote marks into smart quotes. If you copy-and-paste that code into the <head> of your page, be sure to replace the quotes with quote marks that you type in yourself.
I have three two one chi.mp beta invites left. E-mail me if you want one it.