Skip to content

onSuccess on SupaSocialsAuth runs twice #128

Open
@andyngdz

Description

@andyngdz

Bug report

Describe the bug

When using onSuccess callback on SupaSocialsAuth, it runs twice which leads to unexpected behaviors if want to redirect back to other screens, or trigger additional events.

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. Setup SupaSocialsAuth and sign in
  2. Use onSuccess callback
  3. Use print/log the session. Show twices

Expected behavior

onSuccess should call only one time after sign in successfully

System information

  • OS: macOS
  • Device: iPhone 13 Pro Max
  • supabase_auth_ui: ^0.5.4
  • Flutter (Channel stable, 3.24.3, on macOS 15.0.1 24A348 darwin-arm64)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions