Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When I use facebook sign on, and if I already have facebook app in my phone then it should redirect to the facebook mobile app instead of browser #987

Open
vipul8815 opened this issue Jul 24, 2024 · 1 comment
Labels
auth This issue or pull request is related to authentication enhancement New feature or request

Comments

@vipul8815
Copy link

[✓] Flutter (Channel stable, 3.19.5, on macOS 14.3.1 23D60 darwin-arm64, locale en-IN)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.3)
[✓] VS Code (version 1.91.1)

String redirect_url = 'desipass://call-back';
await supabase.auth.signInWithOAuth(
OAuthProvider.google,
redirectTo: redirect_url,
);
await supabase.auth.signInWithOAuth(
OAuthProvider.facebook,
redirectTo: redirect_url,
);

I am using above function code but function not open gmail or facebook(my phone have already there both app), Its open browser

@vipul8815 vipul8815 added the bug Something isn't working label Jul 24, 2024
@dshukertjr dshukertjr added auth This issue or pull request is related to authentication enhancement New feature or request and removed bug Something isn't working labels Jul 25, 2024
@dshukertjr dshukertjr changed the title When I use google or facebook sign on, and if I already have gmail/facebook app in my phone then it should redirect to the gmail mobile app or facebook mobile app instead of browser. (In this case) When I use facebook sign on, and if I already have facebook app in my phone then it should redirect to the facebook mobile app instead of browser Jul 25, 2024
@dshukertjr
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auth This issue or pull request is related to authentication enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants