Thought I’d never have to write libraries for it -hat tip sxip- but I guess everybody has to get over losing at some point.
The following is the product of about 6 hours in the middle of the night staring at various OpenID libraries (mostly the JanRain ones) and attempting to squeeze the code into Twisted’s asynchronous magicland. Nothing super fancy yet, I haven’t even tested the “verifyResponse” method yet, but I think it is probably a decent reference for somebody looking at integrating OpenID but stuck on the ridiculousness of the spec, the libraries and the various extensions they require to compute big numbers you’ve never heard of.
The code is in my devjavu, requires the JanRain OpenID python library (2.x) and Twisted (2.5, I guess)
Also, thanks to intertwingly for this code that gave me a place to start tearing apart JanRain’s super-deluxe-sized library.