-
-
Notifications
You must be signed in to change notification settings - Fork 163
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
Need help with setting up social auth for flutter #349
Comments
Once you have setup deeplinks as instructed on the app_links's page on Windows, calling await supabase.auth.signInWithOAuth(
Provider.google,
redirectTo: kIsWeb ? null : 'io.supabase.flutter://reset-callback/',
); If you have the |
I didn't see the deep-link section in the package before, I will do it step by step again to make sure I didn't miss anything. One question though: I am not sure how this |
@Wizzel1 So the URI can actually be anything actually. It doesn't have to include
|
@dshukertjr I see. The thing that got me confused is the following: When setting up discord as auth provider I need to enter a "redirection link" on the discord page. Isn't this supposed to be the same link as the link in await supabase.auth.signInWithOAuth(
Provider.google,
redirectTo: kIsWeb ? null : 'io.supabase.flutter://reset-callback/',
); I tried to use What is the difference between this |
@Wizzel1 What you enter in the The flow goes like this: So what you enter on the Discord as the redierction link and what you pass to the |
@dshukertjr Understood. So when I am calling the signIn method like so: await supabase.auth.signInWithOAuth(
Provider.google,
redirectTo: kIsWeb ? null : 'io.supabase.flutter://reset-callback/',
); do I still need to create this Or in other words: Is the parameter in redirectTo: kIsWeb ? null : 'io.supabase.flutter://reset-callback/', a reference to a redirection link from |
@dshukertjr yes, sorry. Instead of |
@dshukertjr I will give this a try and reopen this issue if I get stuck again. Thanks for helping! |
I am trying to setup discord authentication for my windows app but I got a bit lost with it.
I saw that it got implemented with this PR #136.
and I have completed the setup steps that are required for the https://pub.dev/packages/app_links package to run. (Altering the files in windows/runner)
What am I supposed to do now? Is there any documentation for this?
The text was updated successfully, but these errors were encountered: