I'm using the python-openid library from Janrain at
http://openidenabled.com/python-openid/
I adapted their Django example to another framework called Web2Py and it appears to be working, but with some annoying side-effects.
The first problem is that sreg (Simple Registration Extension) and ax (Attribute Exchange) don't seem to work. I know that Google uses ax, but my openID consumer always returns None for both of them.
Whenever I login with Google it spews an annoying error message on stdout. It appears to be working, but could be indicative of larger problems?
Error attempting to use stored discovery information: < openid.consumer.consumer. TypeURIMismatch: Required type http://specs.openid.net/auth/2.0/signon not found in ['http://specs.openid.net/auth/2.0/server', 'http://openid.net/srv/ax/1.0', 'http://specs.openid.net/extensions/ui/1.0/mode/popup', 'http://specs.openid.net /extensions/ui/1.0/icon', 'http://specs.openid.net/extensions/pape/1.0'] for end point https://www.go ogle.com/accounts/o8/ud' claimed_id=None local_id=None canonicalID=None used_yad is=True
When I turn on stateless mode, Google actually doesn't display an error anymore, but instead its Yahoo's turn:
Received "invalidate_handle" from server https://open.login.yahooapis.com/openid /op/auth
Does anyone have any insight to these problems?