Does web.py's openid module support ax attributes? I'd like to be
able to query the user's e-mail address during or after login. I've
modified the web.py form to what's below based on what I was
recommended by another tutorial, but all I seem to have in my web.ctx
is the openid_hash value.
<input type="text" name="openid" value="" style="background:
url(
http://openid.net/login-bg.gif) no-repeat; padding-left: 18px;
background-position: 0 50%%;" />
<input type="hidden" name="return_to" value="${returnUrl}" />
<input type="hidden" name="openid.ns.ext1" value="
http://openid.net/
srv/ax/1.0" />
<input type="hidden" name="openid.ext1.mode" value="fetch_request" />
<input type="hidden" name="openid.ext1.type.email" value="http://
axschema.org/contact/email" />
<input type="hidden" name="openid.ext1.required" value="email" />
If web.py's interface doesn't support this, is they're a suitable
replace like authkit that I can easily drop into its place without too
much refactoring? Also, is the openid hash provided unique to that
user or just to the user's session?