Open
Description
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:
- Setup
SupaSocialsAuth
and sign in - Use onSuccess callback
- 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)