This is a feature request as a follow up to #439622: Make openid_cp_field an implementer of hook_openid_client_ax():

Should we update a profile every time a user logs in? I. e. hook_openid_client_ax('save') is invoked? If yes, there should be a check box on a content profile node that says

"[ ] Update my profile from OpenID provider every time I log in."

Comments

aron novak’s picture

Status: Active » Needs work
StatusFileSize
new1.57 KB

This patch is only for the start of the discussion of this ticket.
Do you like the idea of having this setting on a per-user basis? I think this means the module has to create one table (INT nid, INT update) for storing per-user data for the profiles.
If we're ok with per-content-type setting, the things remain a little bit easier.

paolodoors’s picture

This is a quick and dirty patch to update the profile every time the user login.

Regards