joomla / volunteers.joomla.org

Extension for the volunteers portal
GNU General Public License v2.0
21 stars 20 forks source link

New Joomler profile from IDP not always created correctly #255

Open sanderpotjer opened 3 years ago

sanderpotjer commented 3 years ago

Data before user? User stored under user_id = 0 in volunteers table, therefore seeing "provide consent" issue.

sanderpotjer commented 3 years ago

@roland-d I looked into this one, and it looks like that for the accounts that are missing a "volunteer" we never received a ping from the identity portal with the payload of the profile.

Is it possible that we don't add an entry for the user in the #__identity_messagequeue to update the profile data on a connected site if a user logins via SSO? Can we make sure that if someone is logging in via JVP we always make sure that the profile data is send as well?

dryabov commented 3 years ago

Probably related: I've registered on IDP yesterday, and JVP required my consent (though it was approved on IDP right after the registration). But I've just found a workaround: to withdraw my consent and re-approve it again.

sanderpotjer commented 3 years ago

@dryabov yes, that sounds related and indeed a work-around as consents are pushed again with that action.

roland-d commented 2 years ago

@sanderpotjer

Is it possible that we don't add an entry for the user in the #__identity_messagequeue to update the profile data on a connected site if a user logins via SSO?

Isn't this exactly what we want? This should create the data on the JVP site or am I missing something?

Is the information transferred too late to the JVP?

Can we make sure that if someone is logging in via JVP we always make sure that the profile data is send as well?

That is an option but also quite a change/hack on the SSO extension.

sanderpotjer commented 2 years ago

As discussed: