Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Update of Users with Alias during Login #3014

Merged
merged 13 commits into from
Sep 4, 2024

Conversation

adrianhoelzl-sap
Copy link
Contributor

Whenever a user logs in, their properties, e.g., externalId, are updated with the corresponding values from the IdP (e.g., the ID token in case of OIDC).

This update operation does not work for users with an alias. Such users are synchronized with an identical user in a different identity zone and reference each other through the properties aliasId and aliasZid.

Since the update operation performed during the login does not handle these alias properties correctly, the user is updated without the changes being propagated to the alias. Furthermore, the alias properties are set to null, which breaks the alias reference from this side.

@adrianhoelzl-sap adrianhoelzl-sap added the DO NOT MERGE Internal Test or WIP, please DO NOT MERGE label Aug 23, 2024
@adrianhoelzl-sap adrianhoelzl-sap marked this pull request as ready for review August 29, 2024 14:03
@adrianhoelzl-sap adrianhoelzl-sap requested a review from a team August 29, 2024 14:04
Copy link
Contributor

@hsinn0 hsinn0 left a comment

Choose a reason for hiding this comment

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

I did not find any outstanding issues.

@adrianhoelzl-sap adrianhoelzl-sap removed the DO NOT MERGE Internal Test or WIP, please DO NOT MERGE label Sep 4, 2024
Copy link
Contributor

@klaus-sap klaus-sap left a comment

Choose a reason for hiding this comment

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

lgtm

@adrianhoelzl-sap adrianhoelzl-sap merged commit 4c05f30 into develop Sep 4, 2024
22 checks passed
@adrianhoelzl-sap adrianhoelzl-sap deleted the fix-update-of-users-with-alias-during-login branch September 4, 2024 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

3 participants