Need help? Check out our Support site, then


Strange OpenID behaviour with Custom Domain

  1. I was trying to log in to LiveJournal using the OpenID of my WordPress.com-hosted blog which is on the custom domain jeremy.visser.name.

    When I entered my domain into LiveJournal's OpenID login box, I was greeted by a message telling me that I hadn't yet logged into WordPress.com, but I had! I went to the WP admin, and sure enough, I was logged in.

    I checked my cookies, and no cookies had been assigned for the jeremy.visser.name domain (apart from the Google Analytics cookie), but they were there for the jeremyvisser.wordpress.com domain (which my WP admin for jeremy.visser.name goes to).

    I then visited one of my blog posts on jeremy.visser.name. Then, I checked my cookies. I then had the right cookies for jeremy.visser.name!

    So I then logged into LiveJournal via OpenID, same as before, and it worked. Just visiting one of my blog posts fixed it.

    I think it's because of the JavaScript for the WP admin bar that displays at the top. Because the JavaScript is hosted on wordpress.com, it gets the wordpress.com login cookies. Then, if the parent page doesn't have the cookies, it copies them to the parent page, thus the reason why it started working after I viewed a post.

    Weird, but might help for someone else who's having the same problem.

  2. The joys of having domain mapping and multiple cookies! Thanks for the update Jeremy :)

    Trent

Topic Closed

This topic has been closed to new replies.

About this Topic