Files
supabase/examples/auth/flutter-native-google-auth
Tyler 1a0d92ba41 docs: update Flutter docs/ guides/ examples to reflect the new Skip nonce checks option for Google login (#18697)
* update example google sign in app

* update flutter google sign in example

* update flutter auth blog post to add skip nonce check content

* update google sign in guide to include skip nonce check content

* minor update on the code sample for google auth guide

* delete unused code from code sample

* minor update of the blog writing

* blog article refactor

* minor format fix

* Update apps/docs/pages/guides/auth/social-login/auth-google.mdx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

* Update apps/docs/pages/guides/auth/social-login/auth-google.mdx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

* Update apps/docs/pages/guides/auth/social-login/auth-google.mdx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

* Update apps/www/_blog/2023-07-18-flutter-authentication.mdx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

* Update apps/www/_blog/2023-07-18-flutter-authentication.mdx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

* Update apps/www/_blog/2023-07-18-flutter-authentication.mdx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

* Update apps/www/_blog/2023-07-18-flutter-authentication.mdx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

* fix typo

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2023-11-04 06:26:06 +00:00
..

Flutter native Google auth with Supabase

Flutter Google authentication with Supabase auth

A simple Flutter application with native Google login capabilities on iOS and Android using Supabase auth. Upon signing in, the user is presented with a profile screen where their name and profile image from their Google account are displayed.

  • Full tutorial article here
  • Full video guide here

Getting Started

  • Create a new Supabase project here
  • Add your Supabase credentials to lib/main.dart
  • Obtain Google API client ID for iOS, Android, and Web
  • Add all of the client IDs in Supabase dashboard under Auth -> Providers -> Google -> Authorized Client IDs as comma separated values and turn on Enable Sign in with Google
  • Find the clientId variable in lib/screens/login_screen.dart and paste the iOS and web client IDs.
  • Run the app on iOS or Android and test the login flow 🚀

Resources