Skip to content

Conversation

@russellwheatley
Copy link
Member

@russellwheatley russellwheatley commented Nov 6, 2025

  • moved account conflict logic outside of the AuthService which removes currentAccountConflict and puts it into the View layer. It is opinionated on how it handles conflict so it is in default Views
  • I've made accountConflictHandler() optional so that if it isn't present, it just throws errors normally. This is in the event users wish to use the default buttons but have other custom Views.
  • Also made reportError optional.
  • removed reset() from AuthService as it isn't used.

@russellwheatley russellwheatley marked this pull request as ready for review November 7, 2025 07:58
// Sign in with the new credential
_ = try await authService.signIn(credentials: conflict.credential)

// Successfully handled - conflict is cleared automatically by reset()
Copy link

Choose a reason for hiding this comment

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

this is stale since reset() has been removed right?

Copy link
Member Author

Choose a reason for hiding this comment

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

good catch 👍

@russellwheatley russellwheatley merged commit b634cba into development Nov 7, 2025
3 of 4 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.

2 participants