mirror of
https://github.com/supabase/supabase.git
synced 2026-05-07 09:20:21 -04:00
d8bd6b047c
## I have read the [CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md) file. YES <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Documentation** * Updated examples and guides to use Supabase publishable (client) keys instead of anon keys for client-side usage across frameworks and platforms. * Renamed environment variable examples and .env templates to reflect publishable key naming. * Adjusted sample requests and client-init examples to send/use the publishable key via the apikey header where applicable. * Updated references from service_role to secret for server-side credential guidance. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Co-authored-by: fadymak <fady@fadymak.com>
Flutter native Google auth with Supabase
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.
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 IDsas comma separated values and turn onEnable Sign in with Google - Find the
clientIdvariable inlib/screens/login_screen.dartand paste the iOS and web client IDs. - Run the app on iOS or Android and test the login flow 🚀
