Skip to content

Conversation

Ehesp
Copy link
Member

@Ehesp Ehesp commented Oct 2, 2025

Supports allowing the users to define a callback which is called on a successful account upgrade:

autoUpgradeAnonymousUsers({
  onUpgrade: (ui, oldUserId, cred) => {
    // Perform some async logic to merge accounts for example.
  },
})

@Ehesp Ehesp changed the title feat(core): Add provider strategy feat(core): Support autoUpgradeAnonymousUsers onUpgrade callback Oct 2, 2025
@Ehesp Ehesp merged commit 1c78f8e into @invertase/provider-strategy Oct 2, 2025
1 of 5 checks passed
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.

1 participant