Openid_client_ax should be similar to openid_provider_ax in the whole concept.
So I introduced these instead of calling openid_cp_field functions directly:
module_invoke_all('openid_client_ax', 'save', $response, $account);
$mapping = module_invoke_all('openid_client_ax', 'get');

This means I could remove all content_profile depending code from the module.
Please don't commit yet. Needs more work. (altough it looks promising)
I see one issue here: if i login using the same openid second time, i get a white page. altough if i go to the front page, i logged in, so the authentication happens fine.

Comments

aron novak’s picture

Here is a second version of the patch, it fixes the but that i described above: the second time login does not result in a white page anymore (it was a bogus redirect)
Please don't commit yet. Needs more testing. (altough it looks promising)

darren.ferguson’s picture

Status: Needs review » Fixed

Aron this patch is now in the module

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.