Skip to content

Fix issues with removal of user logins on change to external login provider configuration (16)#19512

Merged
kjac merged 2 commits intorelease/16.0from
v16/bugfix/fix-fk-exception-on-delete-external-user-token
Jun 10, 2025
Merged

Fix issues with removal of user logins on change to external login provider configuration (16)#19512
kjac merged 2 commits intorelease/16.0from
v16/bugfix/fix-fk-exception-on-delete-external-user-token

Conversation

@AndyButland
Copy link
Contributor

Equivalent of #19511 resolving #19499 for Umbraco 16.

See linked PR for details.

…rnal login providers.

Ensure to avoid removing logins for members.
Copilot AI review requested due to automatic review settings June 9, 2025 07:49
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR addresses the removal of external logins associated with user accounts when their external login provider configuration changes. It updates the deletion logic in the repository by refining the filtering criteria and consolidating duplicate deletion logic into a dedicated helper method.

  • Refined deletion criteria in DeleteUserLoginsForRemovedProviders to exclude member logins.
  • Consolidated token and login deletions into a common helper method (DeleteExternalLogins).

@AndyButland AndyButland changed the base branch from main to release/16.0 June 9, 2025 07:56
@kjac kjac merged commit 3468177 into release/16.0 Jun 10, 2025
25 checks passed
@kjac kjac deleted the v16/bugfix/fix-fk-exception-on-delete-external-user-token branch June 10, 2025 06:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants