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

  Рет қаралды 12,692

Supabase

Supabase

Күн бұрын

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: 👇
- Integrate Credential Manager with Sign in with Google → developer.android.com/trainin...
- Supabase Kotlin library → github.com/supabase-community...
- Supabase Android Quick start guide → supabase.com/docs/guides/gett...
- Supabase Kotlin library reference → supabase.com/docs/reference/k...
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:
▶ The Fastest way to build a SaaS in 2024: • Fastest way to build a...
▶ How to Sign in with Google on Expo React Native using Android! • Sign in with Google on...
▶ Connect Google sign-in on Flutter with Supabase on iOS, Android and the Web: • How to implement Googl...
👇 Learn more about Supabase 👇
🕸 Website: supabase.com/
🏁 Get started: app.supabase.com/
📄 Docs: supabase.com/docs
🔔 Subscribe for more tutorials and feature updates from Supabase: / @supabase
📱 Connect with Us:
▶ GitHub: github.com/supabase/supabase/
▶ Discord: discord.supabase.com/
▶ Twitter: / supabase
▶ Instagram (follow for memes): / supabasecom
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

Пікірлер: 48
@dshukertjr
@dshukertjr 5 ай бұрын
I will be creating a full Android with Supabase! Tell me what kind of app you would like to see 👇
@allanandliftedhands2669
@allanandliftedhands2669 5 ай бұрын
It would be nice to see some realtime stuff like a chat app
@dshukertjr
@dshukertjr 5 ай бұрын
@@allanandliftedhands2669 Great suggestion! Will add it to the top of the list!
@tristdrum-workweek
@tristdrum-workweek 5 ай бұрын
App where the use takes photos that get uploaded to Supabase Storage! 😁
@dshukertjr
@dshukertjr 5 ай бұрын
@@allanandliftedhands2669 This is next on the list!
@dshukertjr
@dshukertjr 5 ай бұрын
@@tristdrum-workweek Thanks for the request! Storage content will come soon!
@schlep
@schlep 5 ай бұрын
Thanks! Excited to see more Supabase Mobile content
@JanT26
@JanT26 5 ай бұрын
Great video!
@tanyanxing9472
@tanyanxing9472 4 ай бұрын
You really know your stuff well. Thanks mate !
@JonMeyers
@JonMeyers 5 ай бұрын
This is so very helpful!
@max_schwaerzler
@max_schwaerzler 4 ай бұрын
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!
@brummel6873
@brummel6873 5 ай бұрын
Your video helped me a lot, thank you. can you make another one with an architechture like MVVM
@HeroTheOne
@HeroTheOne 2 ай бұрын
Very useful video. Thank you!
@sendhur_muthu
@sendhur_muthu 4 ай бұрын
GetCredentialRequest is available on API 34. What to use for lower API versions?
@diepardo
@diepardo 7 күн бұрын
Doesn't work for me. I keep getting error `androidx.credentials.exceptions.NoCredentialException: No credentials available`.
@cenullum
@cenullum 4 ай бұрын
Can you also make a video about ddos ratelimit protection etc?
@MrAmG17
@MrAmG17 5 ай бұрын
Now that was fast and very helpfull video ! I like the format. Keep it up 👊
@dshukertjr
@dshukertjr 5 ай бұрын
Thanks for the positive feedback! I'm glad you like the format!
@4ytonly
@4ytonly 3 ай бұрын
will this work for firebase auth for firestore???
@tristdrum-workweek
@tristdrum-workweek 5 ай бұрын
Awesome! Loving the content! Thank you! How easy is this to do using Flutter? (instead of Kotlin)
@dshukertjr
@dshukertjr 5 ай бұрын
Good question. Since the official Flutter google_sign_in does not support credential manager currently, we are left with either using third party plugin to use credential manager, or to implement it ourselves using platform channels.
@tristdrum
@tristdrum 5 ай бұрын
Thanks for the reply! Looks like the ideal Android experience to me! Maybe we’ll put some R&D into it in the next few months and post something about it if we get it right. Must be possible! Would be great if it worked out the box. I want the simplicity of a passwordless OTP sign in without the cost per authenticat from Twilio/etc side. Because all (Google, not Huawei) Android users should be logged in to download the app, they all should be able to use this with ease! Love this Tyler, thank you!
@victorhugoolvera8773
@victorhugoolvera8773 3 ай бұрын
Is there a tutorial to do this with expo/react-native?
@himanshukandwal8710
@himanshukandwal8710 2 ай бұрын
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.
@shaads112
@shaads112 4 ай бұрын
Please create one for Expo with the Credential Manager
@jozefstefanek8462
@jozefstefanek8462 3 ай бұрын
Java version? And GetCredentialRequest is for API >=34, what about backwards compatibility?
@ThaiNguyen-if2kr
@ThaiNguyen-if2kr 3 ай бұрын
Is the source code for this example available? Great video!
@user-mr2cy5yt4b
@user-mr2cy5yt4b 4 ай бұрын
You saved me my LORD kk😂
@hafisg-vq8ne
@hafisg-vq8ne 2 ай бұрын
i got error ,activity is cancelled by the user, btw I got the sha1 from signingreport
@trexiemaeprena8131
@trexiemaeprena8131 4 күн бұрын
i got stuck in the oauth consent screen, and it is not in the tutorial. pl help mee
@Theduckaregoated
@Theduckaregoated 3 ай бұрын
My credential manager keeps crashing it doesn't let me logg in
@ItzResurgence
@ItzResurgence 15 күн бұрын
How to keep the user signed-in (no required to signed in again & again) like the app should remember the last signed in user
@Supabase
@Supabase 12 күн бұрын
The Supabase client library should do that by default, but if that is not the experience you are having, you can open an issue on the client library you are using.
@mklmk-vjhbj
@mklmk-vjhbj 3 ай бұрын
I don't know why, but when I press the button, the application just throws me away
@JasmeetSidhu-ut7sj
@JasmeetSidhu-ut7sj 5 ай бұрын
how to use credential manager with java ?
@pablodev
@pablodev 4 ай бұрын
non puoi
@justmeagain9302
@justmeagain9302 2 ай бұрын
i got some binder error, fck I can't do this. It's way too powerful for my newb brain to comprehend
@IamTheGreatCornholioo
@IamTheGreatCornholioo 5 ай бұрын
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.
@2dstencil847
@2dstencil847 4 ай бұрын
hahaha. It does seem better, but only for those still manually typing account, except those use password manager or default password manager...It dont yet change fundamental problem of entire login/human id, or what the fundamental of how cumbersome to manage id and password on various app
@audunhilden
@audunhilden 4 ай бұрын
please create one for expo
@Supabase
@Supabase 4 ай бұрын
We have a Google sign-in video with Expo right here: kzfaq.info/get/bejne/rNWae9B4uq25d5c.html
@developerud
@developerud 3 ай бұрын
@@Supabase with crediential manager
@SpaceGuideHub
@SpaceGuideHub Ай бұрын
5:44
Mama vs Son vs Daddy 😭🤣
00:13
DADDYSON SHOW
Рет қаралды 50 МЛН
Amazing weight loss transformation !! 😱😱
00:24
Tibo InShape
Рет қаралды 67 МЛН
Setup Google OAuth sign in 6 minutes
6:51
Appwrite
Рет қаралды 30 М.
Sign in with Google | Firebase Auth & Credential Manager | Jetpack Compose | Code-Along
28:35
Open Source Google Maps API Alternative
17:58
Supabase
Рет қаралды 4,5 М.
Sign in with Google on Expo React Native
29:49
Supabase
Рет қаралды 32 М.
THIS NEW ENGINE WILL END ELECTRIC CARS," SAYS TOYOTA CEO ABOUT THIS CREATION
28:09
Using PostgreSQL triggers to automate processes with Supabase
10:47
Nokia 3310 top
0:20
YT 𝒯𝒾𝓂𝓉𝒾𝓀
Рет қаралды 4,3 МЛН
📱магазин техники в 2014 vs 2024
0:41
djetics
Рет қаралды 682 М.
Какой ноутбук взять для учёбы? #msi #rtx4090 #laptop #юмор #игровой #apple #shorts
0:18