help configuring openid for enki blog in ruby on rails
I am trying to set up a blog using Enki. There is a config 开发者_运维百科file here: http://github.com/xaviershay/enki/blob/master/config/enki.yml
Which I don't understand. I signed up for myopenID and replaced my username in the delegate, but I don't understand what goes under "open_id" - is it just my URL? I'm just not sure what's going on, or what name I should put in the admin page at all (is it the username at myopenID?).
I may have it all right, but I keep getting "OpenID server not found" so something is going wrong on both my local and remote server.
I struggled a bit with this, and then ended up solving it.
Steps:
- Get a myopenid.com open id (this is easiest, though if you know what you are doing with, say, Google's OpenID then you can do that too)
- Comment out the last two lines of the config/enki.yml (server: http://www... & delegate: http://...)
- Comment out the lines after "open_id:" but NOT the line that says "open_id_delegation:"
- Right underneath "open_id:" write " - http://yourmyopenidname.myopenid.com"
- Save then goto /admin, enter yourmyopenidname.myopenid.com in the "Stop! Who are you?" box
This should get you straighted out. Good luck!
精彩评论