Skip to content

N°10359 - Provisioning - New person created indefinitely - #12

Merged
eespie merged 2 commits into
masterfrom
issue/10359_-_Provisioning_new_person_created_indifinitely
Nov 30, 2026
Merged

eespie merged 2 commits into
masterfrom
issue/10359_-_Provisioning_new_person_created_indifinitely

Conversation

@eespie

@eespie eespie commented Nov 30, 2026

Copy link
Copy Markdown
Member

With provisioning, a new user is created each time a user logs in.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

A regression test is still needed for repeated provisioning when login differs from email, verifying that refresh reuses the same Person without duplicates and preserves the UserExternal link.

1 open issue
What changed in this PR

This PR addresses repeated Person creation during provisioning by looking up existing contacts using the identity provider’s profile email instead of the authentication login.

Changes:

  • Updates FindPerson to match by profile email, allowing existing contacts to be reused when the login differs from the email.
File Description
datamodel.combodo-hybridauth.xml Changes the provisioning Person lookup to use the profile email.

Review effort: Balanced

Comment thread datamodel.combodo-hybridauth.xml Resolved
@eespie
eespie merged commit 9541a7d into master Nov 30, 2026
1 of 2 checks passed
@eespie
eespie deleted the issue/10359_-_Provisioning_new_person_created_indifinitely branch December 1, 2026 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants