Problem: I log on to a Drupal site with the OpenID provided by a Drupal OpenID provider site http://localhost/provider/user/1/identity . I expect a content profile to be created with the credentials from the provider site according to the OpenID field mappings. No profile is created though.
Setup Provider:
* OpenID provider latest 6.x dev
* OpenID provider AX latest 6.x dev
* OpenID cp field with
Setup Client (relying party)
* OpenID
* OpenID client AX latest 6.x dev with
* OpenID cp field with #439622: Make openid_cp_field an implementer of hook_openid_client_ax() applied
* authenticated user has permissions to create profile
I've set up a mapping on both sides:
Provider:
$mapping = array();
$mapping["profile"] = array (
'http://axschema.org/namePerson' => 'title',
'http://axschema.org/contact/city/business' => 'field_city',
'http://axschema.org/media/biography' => 'body',
);
$mapping["profile_sreg"] = array (
);
return $mapping;
Client:
$mapping = array();
$mapping["profile"] = array (
'http://axschema.org/namePerson' => 'title',
'http://axschema.org/media/biography' => 'body',
);
$mapping["profile_sreg"] = array (
);
return $mapping;
Everything fails silently. Maybe we could give users some actionable error messages. At least it would be great if there was a debug mode that had some more verbose error messages.
Comments
Comment #1
aron novakThe issues were:
http://drupal.org/node/439622#comment-1508586
http://drupal.org/node/442168