On Jul 10, 2007, at 12:07 PM, michael wrote:

I wanted to try out the open_id authentication on a local application.
I think I got all the config variable names right.

snip from development.ini:
        authkit.setup.enable = true
        authkit.setup.method = openid
        authkit.cookie.secret = somesecret
        authkit.openid.store.type = file
        authkit.openid.store.config = ""
        authkit.openid.path.signedin = '/signedin'
        authkit.openid.baseurl = http://127.0.0.1:5000

I think you need to add usage of the cookie to that like so:
        authkit.setup.method = openid, cookie

So that it then add's the cookie wrapper, which should make the paste.auth_tkt.set_user function available. This should fix the problem you're seeing. I'll look into adding some better error handling so it lets you know about this as well.

On a side-note, I hope to be updating AuthKit's OpenID soon to use the latest OpenID 2.0 libraries from JanRain.

Cheers,
Ben

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to