xaviershay / enki

A Ruby on Rails blogging app for the fashionable developer. It's better than Mephisto or SimpleLog

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enki openid doesn't seem to like Google OpenID

kalleth opened this issue · comments

The enki.yml requires the URL of openid; for google this is Directed Identity (see http://lists.openid.net/pipermail/openid-general/2009-July/009271.html), which means (fsr) the app doesn't authorise me correctly - the only URL that everyone gets is https://www.google.com/accounts/o8/id.

Not sure if i'm using the openid section wrong (openID is pretty new to me) but using that URL in enki.yml doesn't let me login; it says not authorised - when using https://www.google.com/accounts/o8/id in the 'who are you' box and the same in enki.yml.

I have no idea how I'd fix it :)

Pretty sure that's old style. Reopen if some of these other ideas don't help you out: http://webapps.stackexchange.com/questions/18899/how-do-i-figure-out-my-google-openid-url

You can also add some logging to enki to output the requests/responses it is making to see where things aren't lining up.

The idea proposed there is to use a profile URL - which requires you to set up google plus. This is a google apps account, I already have a google plus account on another google account and don't particularly want to setup a 2nd :)

I won't reopen yet, I'll try adding some logging, but I know very little about openID so not sure how much help I can be :)

kalleth, did you ever come up with a solution? i'm staring down the exact same issue

I managed to resolve it, but still need to type the full profile URL into the login field. This is a bit awkward, so making some revisions that would just put a "Log in with Google" link would certainly make more sense. Will try to figure it out.

Until then, I've made a little post that explains how to implement it:
http://wojtek.grabski.ca/2012/09/27/google-openid-support-in-enki