Skip to content

Conversation

@russellwheatley
Copy link
Member

@russellwheatley russellwheatley commented Oct 30, 2025

  • Handle both credentialAlreadyInUse and emailAlreadyInUse when attempting to link anonymous account with provider (if option set in AuthConfiguration).
  • Ensure currentUser is nil when signedOut for immediate feedback in auth service.
  • Created an opinionated sign-in handler in AuthPickerView for default Views only which will attempt to link anonymous account with provider and If it fails, it will sign out anonymous user and login with provider. This sign out & login with provider behaviour is not part of AuthService for consumers who don't want it, this means they can get credential from the error thrown (see .accountMergeConflict(context) enum which passes back the credential).
  • Also refactored phone auth to be self contained when starting phone auth flow. Removes the need for random setVerificationCode() method.

@russellwheatley russellwheatley marked this pull request as ready for review October 30, 2025 16:23
@russellwheatley russellwheatley merged commit 836154b into development Nov 3, 2025
3 of 4 checks passed
@russellwheatley russellwheatley deleted the anonymous-upgrade branch November 3, 2025 16:44
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