Sign in with Google on Android using Credential Manager and Supabase Auth

preview_player
Показать описание
Learn how to connect Google sign-in using Credential Manager, to Supabase Authentication and make secure API requests to your Supabase instance.

👇 All The Links You Need: 👇

Credential Manager is the recommended way of implementing Google Sign-in. This video walks through how to implement Google sign-in using Credential Manager, as well as how to connect it to Supabase Authentication to make secure API requests to your Supabase instance.

Security functions change quickly, so we make sure we're on top of it here at Supabase so you're still secure and compliant! Today, we’re showing you how to secure your Android app's user sign-ins with Google's Credential Manager and Supabase Auth making the enture app experience safer for you and your users.

With Google phasing out the ontop login method, this video is your guide to adopting the new standard in security features across your Supabase applications. We'll walk you through creating an Android app, setting up Google sign-in with Credential Manager, and linking it to Supabase for secure backend interactions.

We care about your security here at Supabase so follow us to make sure you’re staying up to date with all the latest security features!

What you'll learn:

✅ Implement Google Sign-in: Use Credential Manager to add Google sign-in to your Android app, enhancing security and user experience.

✅ Connect to Supabase Auth: Link Google sign-in with Supabase Auth to make secure API requests to your backend.

✅ Add Dependencies: Integrate necessary dependencies for Google sign-in and Supabase Auth into your app's build.

After this video, you'll be able to:

✅ Secure User Sign-ins: Implement Google sign-in in your Android app using Credential Manager, following Google's latest recommendations.

✅ Utilize Supabase Auth: Connect your Google sign-in to Supabase Auth, securing backend API requests with authenticated user sessions.

✅ Test Authentication Flow: Run your app to test the Google sign-in process and verify authenticated API requests with Supabase.

#SupabaseAndroidSeries

CHAPTERS:

0:00 What you’ll learn
0:30 Start your project
1:20 Copy code from Google / adding dependencies
2:00 Implement Google sign-in button
3:04 Google Cloud and Client IDs
4:08 Handling Nonces for Security
7:01 Supabase Auth Integration
7:48 Adding Supabase to the Project
10:32 Implementing Supabase Auth with Google
11:11 Set Role Level Security policies

💻 Videos to watch next:

👇 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
Рекомендации по теме
Комментарии
Автор

I will be creating a full Android with Supabase! Tell me what kind of app you would like to see 👇

dshukertjr
Автор

Now that was fast and very helpfull video ! I like the format. Keep it up 👊

MrAmG
Автор

Java version? And GetCredentialRequest is for API >=34, what about backwards compatibility?

jozefstefanek
Автор

Your video helped me a lot, thank you. can you make another one with an architechture like MVVM

brummel
Автор

You really know your stuff well. Thanks mate !

tanyanxing
Автор

Thanks, you just helped me so much! I just couldn't figure out what the server client id should be. It was never explained in the google docs!

max_schwaerzler
Автор

Awesome! Loving the content! Thank you!

How easy is this to do using Flutter? (instead of Kotlin)

tristdrum-workweek
Автор

Doesn't work for me. I keep getting error No credentials available`.

diepardo
Автор

GetCredentialRequest is available on API 34. What to use for lower API versions?

sendhur_muthu
Автор

Is the source code for this example available? Great video!

ThaiNguyen-ifkr
Автор

How to check if user is already signed in Using google credential manager? directly send his tooken to supabase without asking to sign in with google again.

himanshukandwal
Автор

will this work for firebase auth for firestore???

ytonly
Автор

I'm so sick and tired on googles never ending bs. Deprecating old stuff that just works to replace it with something that doesn't have any advantages compared to the old stuff at all.

IamTheGreatCornholioo
Автор

Please create one for Expo with the Credential Manager

shaads
Автор

i got stuck in the oauth consent screen, and it is not in the tutorial. pl help mee

trexiemaeprena
Автор

Sad thing about it.. it is not working on some devices like s23 ultra (android 14).. but works on android 13 version.. so there is a lot improvements need to do.. i am using stable version still.. the issue is that vendor like samsung has not put some stock apis of this library in there released version... so i am back to deprecated method..

gorkijatt
Автор

Can you help me how to use AuthotizationClient API to get auth code and access code, then I can use others google api ?

lequanglam
Автор

Is there a tutorial to do this with expo/react-native?

LithiumFireX
Автор

I got the "No credentials available" issue and solved it by signing APK. I do not work in an emulator.

АнтонИванов-шж
Автор

how to use credential manager with java ?

JasmeetSidhu-utsj
welcome to shbcf.ru