OpenID to TypeKey Proxy
Martin Atkins
mart at degeneration.co.uk
Fri May 27 11:07:38 PDT 2005
Martin Atkins wrote:
>
> However, if you don't mind running a memcached instance or doing the
> (quite simple) work to make it write the tokens to disk you are welcome
> to take and use this now. You'll need to change the base URL and provide
> a TypeKey site ID. I've hidden mine in an external file because it's not
> clear to me whether they are sensitive information or not.
The memcached dependency is now removed. It stores tickets in files in
the directory specified at the top of the script.
There's no expiry on the tickets anymore, so your ticketdir will
probably end up with some stale tickets after a while that need cleaning
out. It could still limit ticket redemption time by looking at the file
modtime, but I'll leave that as an exercise to the reader.
I left all of the Memcached code in there commented out in case anyone
wants to use it.
Depends on:
Net::OpenID::Server
LWPx::ParanoidAgent
CGI
HTML::TokeParser
Authen::TypeKey
All of the stuff needed should either be pure perl or come with perl, so
it shouldn't be a major deal to get this running on a limited hosting
account. If you need to install any modules yourself, just plonk the
modules in the directory with it.
More information about the yadis
mailing list