Skip to content

Conversation

@russellwheatley
Copy link
Member

@russellwheatley russellwheatley commented Oct 28, 2025

PRs

1283

  • Refactor - Removed AuthenticationToken returned from reauthenticate() method as it is no longer used or needed.

1282

  • Fix - Pass in limitedLogin value of toggle to FacebookProviderSwift to ensure correct login flow occurs.

1281

  • Refactor - Removed FacebookProviderError and GoogleProviderError in place of AuthServiceError.
  • Fix - Removed alert from FacebookSignInButton to use global errorAlert modal.
  • Refactor - some of the errors so there is more uniformity across providers.

1280

  • Feat: Centralized error modal system implemented.
    • Automatic error modal display for authentication errors.
    • Integration with authentication flows.
    • Modal dismissal.

1279

  • Feat: OAuth package along with convenience methods for Yahoo, Microsoft and Github
    • Create generic OAuth class that implements AuthProviderSwift
    • Create generic OAuth class that implements AuthProviderUI.
    • Create generic OAuth View button.
    • Helper method for Yahoo, Microsoft and Github.

1278

  • Feat: Apple sign-in support
    • New FirebaseAppleSwiftUI package created
    • AppleProviderSwift class implementing AuthProviderSwift protocol
    • createAuthCredential() method with Apple Sign-In integration
    • Scopes configuration support
    • AuthProviderUI conformance with authButton() method
    • Integration with AuthService tested

1277

  • Refactor: google, facebook, phone providers
    • Update withGoogleSignIn(scopes scopes: [String]? = nil) to withGoogleSignIn(_ provider: GoogleProviderSwift? = nil)
    • Update withFacebookSignIn(scopes scopes: [String]? = nil) to withFacebookSignIn(_ provider: FacebookProviderSwift? = nil)
    • Rename FacebookProviderAuthUI to FacebookProviderSwift in keeping with other providers as per API doc and gave it the provider functionality to createAuthCredential() and deleteUser() (needed as sensitive operation like delete user requires reauth)
    • FacebookProviderAuthUI now renders the button and holds FacebookProviderSwift for operations.
    • Rename GoogleProviderAuthUI to GoogleProviderSwift in keeping with other providers as per API doc and gave it the provider functionality to createAuthCredential() and deleteUser() (needed as sensitive operation like delete user requires reauth)
    • Renamed PhoneAuthProviderAuthUI to PhoneProviderSwift
    • Remove registerModalView() API from auth service.
    • Phone auth modal usage is isolated to phone auth package.

1276

  • Feat: Twitter sign-in support
    • Complete Twitter auth package.
    • Separated SwiftUI CI into 3 separate jobs so if a test failed, they all didn't fail.

1273

  • Feat: Multi factor Authentication support
    • TOTP and SMS enrolment.
    • TOTP and SMS management from signed-in view (SignedInView). Can add and remove factors from this state.
    • TOTP and SMS un-enrolment from signed in state.
    • UI tests for enrolment flow for SMS, does not have TOTP as it's not supported by emulator.
    • UI tests for removing factors from sign-in state.
    • UI tests for SMS resolution (up to the point of signing in as it fails here due to lack of emulator support).

1272

  • Refactor: move providers to new protocols and refactor API in light of API document
    • implement AuthProviderSwift & AuthProviderUI & refactored providers to use these protocols.
    • Update Facebook, Google and Phone auth implementation to conform to new protocols.
    • Rename APIs in light of agreed API document.
    • Refactored authentication methods to return SignInOutcome enum.
    • Implement methods for updating user profile.

@russellwheatley russellwheatley changed the title Development refactor: second phase of FirebaseUI work. Oct 28, 2025
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