How to implement Google sign-in on Flutter with Supabase on iOS, Android & Web

preview_player
Показать описание
Integrate Google Auth with Supabase in Your Cross-Platform Flutter App

Google sign-in is a common way for a user to sign into applications, and it is almost like a requirement these days to have it in your app. Supabase auth makes it easy to implement Google sign-in on your app so that you can securely log your users into your app. This video walks through how to implement Google sign-in with Flutter on different platforms.

Chapters:
00:00 Intro
00:18 Create a new Flutter project
00:49 Set up google_sign_in with Firebase
01:40 Set up google_sign_in without Firebase
02:55 Implement the native Google sign-in flow
08:09 Verify that Google sign-in works on iOS and Android
08:54 Set up Google sign-in for the Web
11:32 Wrap up

💻 Videos to watch next:

If you want to streamline user onboarding and secure your Flutter app with Google Auth and Supabase, we’ve got you covered. This Supabase tutorial video will help you simplify the sign-up process to your app, increasing the chance of conversions and enhance app security by integrating Google sign-in with Supabase across iOS and Android apps. Learn the step-by-step process, from obtaining essential client IDs to configuring web-specific settings, and discover how to handle platform-specific considerations for a seamless experience on iOS, Android, and web. At the end of this video, you’ll be able to integrate Google sign-in, improve user experience (which is ALWAYS a good thing) and increase security on your app – all within the user-friendly Supabase platform.

What you will learn:

✅ Client ID Configuration: Grasp the process of obtaining essential client IDs for Web, Android, and iOS platforms, a crucial step for enabling Google sign-in within Supabase.

✅ Web-Specific Considerations: Explore the unique configurations required for seamless Google sign-in functionality on the web platform, including authorized redirect URLs and client secrets.

✅Supabase Integration: Learn how to connect and leverage Supabase's functionalities to handle ID tokens and user authentication seamlessly during the Google sign-in process.

After this video you will be able to:

✅Integrate Google Auth Sign-in To Supabase: Confidently add Google sign-in functionality to your Flutter app with Supabase, enabling users to leverage their familiar Google credentials for a smooth and secure login experience.

✅ Simplify User Onboarding: Reduce the need for registration forms which will lead to increased conversions.

✅ Enhance Security with Google Authentication: Enjoy robust security features of Google authentication to safeguard user data and prevent unauthorized access within your Flutter app using Supabase.

Learn more about Supabase 👇

📱 Connect with Us:

ABOUT SUPABASE:
Supabase is the open source Firebase alternative. Supabase provides a full Postgres database for every project with pgvector, backups, realtime, and more. Add and manage email and password, passwordless, OAuth, and mobile logins to your project through a suite of identity providers and APIs.

Build in a weekend, scale to millions.

#Supabase #AppDevelopment #RealtimeApps #DeveloperTools
Рекомендации по теме
Комментарии
Автор

Apple sign-in video will also come out soonish. In the mean while, what other Flutter content would you like to see on this channel?

dshukertjr
Автор

dude, you saved my day!! It was pretty non-obvious for me before where I need to use android service id vs web service id, and why it is web service id for android if I use native sign in...
mobile dev is slightly confusing, but thanks a lot!!

nikitachernenko
Автор

thankyou so much, I appreciate this a lot 🙏

hantuedan
Автор

thanks! i have an issue redirecting the users to the right page, i want to to redirect the user to continue the onborinf and completing the user information when they clic on sigup and if they clic on login with google they will be redirect to home. do you have anyidea on how to achieve this ?

Kamal_sabki
Автор

Can we please get a compose multiplatform google + apple sign in tutorial?

Shreyas-fsdp
Автор

helped to fix web, i didnt know i have to set the port

NoPrgress
Автор

Just a note, you're pointing to Google Singin with Flutter video, is that the video you're mentioning?

OviDB
Автор

Supabase have to add the crucial feature for all real word app like transaction native feature or batch on db. Otherwise we can't chose supabase to to make a good apps.

excellencemichel
Автор

This was quite clear for the most part, but there were 3 different client IDs, which one gets pasted into Supabase?

michaelrogers
Автор

It seems I haven't found a tutorial for Sign in with Apple using Supabase and Flutter.
By the way, how can I link multiple OAuth logins to the same account? I mean binding both Apple and Google to the same account.
Of course, it should also work for Web and Android

jmqugdl
Автор

i see charge for MAU in pricing, why ?

gkumartube
Автор

dont work on web but in android is fine... who can display gmail not this numbers?

lordew
Автор

This does not work. I created a new Firebase project, enabled Google Sign In, but there cas no Google Cloud project created.

wgolyoko
Автор

The google_sign_in plugin `signIn` method is deprecated on the web, and will be removed in Q2 2024.

pgwfscd
Автор

i am getting error cliend id not found

devagarwal
Автор

The login on iOS works perfectly but the one on Android doesn't work. It keeps giving me the same error Unhandled Exception: PlatformException(sign_in_failed, 10:, null, null)

giaretz