ax_schema = getattr(self, 'dataype2ax_schema', False)
if ax_schema:
- ax = AXFetchResponse.fromSuccessResponse(openid_response)
+ ax = AXFetchResponse.fromSuccessResponse(openid_response, False)
if ax:
axargs = ax.getExtensionArgs()
for t, s in available_types.items():
if not t in consumer_data:
- consumer_data[t] = axargs["value.%s.1" % s]
+ if axargs.get("value.%s.1" % s, None):
+ consumer_data[t] = axargs["value.%s.1" % s]
request.session['auth_consumer_data'] = consumer_data