How to Implement Google One Tap SignIn on Android

  Рет қаралды 27,456

Codes Easy

Codes Easy

Күн бұрын

In this video we will be seeing how to integrate google one tap signin to your android application. We will walk you though step by step process on implementing it and also provide complete explanation with source code.
Google One-Tap signin make it easy for users to sign in to your android application. It is always better to use such easy methods to make every step easy for your users. So lets learn how to do this in the right, easy way.
Download Source Code: youtube.codese...
Google One-Tap Docs: developers.goo...
How to get SHA-1: developers.goo...
########## For Doubts (ask it here) ################
Discord: / discord
Whatsapp group: whatsappgroup....
############################################
########## For Business Queries ##########
Contact us for any business queries:
Email: mail@codeseasy.com
Phone number: +918281536333
WhatsApp: whatsapp.codes...
####################################
Find us on Social Media:
Website: www.codeseasy.com
Telegram: t.me/CodesEasy...
Facebook: / codeseasy
Instagram: / codeseasy
Twitter: / codeseasyblog

Пікірлер: 72
@dkn4.hackers
@dkn4.hackers 6 ай бұрын
Even reading the documentation I was making several small errors. Thanks for the detailed video!
@CodesEasy
@CodesEasy 6 ай бұрын
Glad it helped!
@NVG064
@NVG064 Жыл бұрын
Bro, your code also working on Kotlin. Really thanks, you saved my life
@CodesEasy
@CodesEasy Жыл бұрын
Happy to help
@algot34
@algot34 9 ай бұрын
Thank you so much! Unfortunately, Google One Tap SignIn is soon to be depreciated. However I thought implementing the new credential manager was too difficult, so I opted for this one instead. At least until there are more tutorials for credential manager.
@CodesEasy
@CodesEasy 9 ай бұрын
We will soon publish one. 👍
@lipu697
@lipu697 5 ай бұрын
@@CodesEasy Yes sir, please upload a video on credential manager with java because they have already removed the doc for create account with one tap but they haven't uploaded doc to use credential manager with java, I tried to implement it by converting kotlin codes to java with the help of chatGPT but it is causing many errors. Don't know what to do now😭. I really need a video on that. PLEASE🙏
@MegaArti2000
@MegaArti2000 10 ай бұрын
8:00 for some reason it takes a while until you can import classes; I guess you need to try and run the app before you try to import theses classes; maybe my PC is just too slow, I dont know
@CodesEasy
@CodesEasy 10 ай бұрын
You have to synchronise the project after adding dependency. Also if your system is slow the recommendations might take too much time
@vishnupriya9437
@vishnupriya9437 7 ай бұрын
Hi sir. I have wordpress website.i use nextend plugin for social login. I converted to app by using android studio. Everything works fine except social login. Can you create a video on this. It will be helpful. How to create social login and link to wordpress or is there any plugin. Thanks pls reply.
@ThanhTam-p3f
@ThanhTam-p3f Жыл бұрын
Thanks for your video. This save my day. Can you tell me why you use client Id from Web client instead of Android Client?
@CodesEasy
@CodesEasy Жыл бұрын
You would use this client ID when calling Google APIs from your server Read this developers.google.com/identity/one-tap/android/get-started#api-console
@SLimaneLoukili89
@SLimaneLoukili89 Жыл бұрын
I'm developing an app with a WebView embedded in it. After the user is signed in to their Google account within my app, is it possible to use their credentials to sign in automatically to their account in the WebView?
@CodesEasy
@CodesEasy Жыл бұрын
You won't be having a password. If you are getting a password also from the user you can do it.
@MegaArti2000
@MegaArti2000 10 ай бұрын
13:24 where did this method come from?? My Android Studio says I have to write my own handler, but I have no idea how.
@CodesEasy
@CodesEasy 10 ай бұрын
Update your android studio and sdk's, you simply have to follow the video as it is
@pavan40042
@pavan40042 5 ай бұрын
How can we get rid of the second dialog that comes after the email selection Signin In With Google By Continuing , google will share your name , email address and profile picture with Accept how do we make sure this dialog doesnt come as we are not using user email or name or picture so how do we get rid of this dialog ?
@oanmuhammad6121
@oanmuhammad6121 Жыл бұрын
it was very helpful ;) great tutorial thanks brother 👍👍
@CodesEasy
@CodesEasy Жыл бұрын
Glad it helped
@fernandox1985
@fernandox1985 9 ай бұрын
Hi! I did all code. The app made in Android Studio works ok. But after publish that version can not sign up. After click the button nothing happens. The options acoount to select do not appers in screen. It s not possivible debug it. Did you ( or someone here) know what is going on?
@CodesEasy
@CodesEasy 9 ай бұрын
It will be done to change in signature, sha1 etc. check what's causing the issue
@CodesEasy
@CodesEasy 9 ай бұрын
Check the exception and also check the google dashboard etc
@calixtoandrade996
@calixtoandrade996 6 ай бұрын
great tutorial Thanks!
@CodesEasy
@CodesEasy 5 ай бұрын
Glad it was helpful!
@royalanimations007
@royalanimations007 Жыл бұрын
How to Implement this using jetpack compose please let me know if you have any reference without using view models as simple as possible
@CodesEasy
@CodesEasy Жыл бұрын
This is the better and recommended way by google. Check Google docs.
@colinking4959
@colinking4959 11 ай бұрын
Great detailed video but why does it not work on the android emulator
@CodesEasy
@CodesEasy 11 ай бұрын
Lack of a few google apps
@colinking4959
@colinking4959 10 ай бұрын
@@CodesEasy Would using this store the google sign in credentials to a firebase realtime database
@siddarajagm9442
@siddarajagm9442 Жыл бұрын
Hi Thanks for the wonderful video. Can you please make a video on Firebase authentication using Google one tap sign in
@CodesEasy
@CodesEasy Жыл бұрын
Sure
@AyushKumar-yd7my
@AyushKumar-yd7my Жыл бұрын
After signing it's not saving user info in firebase auth And also how to delete user Google signin data and after signin where user data stores
@CodesEasy
@CodesEasy Жыл бұрын
Check this docs developers.google.com/identity/one-tap/android/overview
@SLimaneLoukili89
@SLimaneLoukili89 Жыл бұрын
how to check at the opening of the app that the user is already signeed in or not!!
@CodesEasy
@CodesEasy Жыл бұрын
Check this developers.google.com/identity/sign-in/android/sign-in#check_for_an_existing_signed-in_user
@TechSinkoo
@TechSinkoo Жыл бұрын
after Login How to get user profile picture to ImageView and Name into TextView ?
@CodesEasy
@CodesEasy Жыл бұрын
Check the docs
@manuelcaceres2300
@manuelcaceres2300 Жыл бұрын
Hi I´m wondering if there´s a way to ask the users to submit their password when they sign in. I´m trying to avoid one tap for security reasons.
@CodesEasy
@CodesEasy Жыл бұрын
There are other videos in the channel which does it like that way. Check login and registration using firebase video in the channel
@MrCleudemir
@MrCleudemir 10 ай бұрын
Amazing! Thank U!
@CodesEasy
@CodesEasy 10 ай бұрын
Welcome!
@SpencerChavez-m6r
@SpencerChavez-m6r Жыл бұрын
Thank youuuuu very good
@CodesEasy
@CodesEasy Жыл бұрын
Happy that the video helped you
@andrew-xu3vw
@andrew-xu3vw Жыл бұрын
Unfortunately does not work for me. The request returns with no success or failure, so nothing happens
@CodesEasy
@CodesEasy Жыл бұрын
Check the code and correct it
@andrew-xu3vw
@andrew-xu3vw 11 ай бұрын
@@CodesEasy issue was - me trying to use Android token, but need to use the web one
@avichaljain269
@avichaljain269 Жыл бұрын
why you chose web when you generated credentials shouldn't we choose android as we working on android
@CodesEasy
@CodesEasy Жыл бұрын
that is for the server api credentials that we need to use on the android part
@HexFireGaming1
@HexFireGaming1 Жыл бұрын
👍👍😍😍
@CodesEasy
@CodesEasy Жыл бұрын
Happy that you liked the video
@charthoho
@charthoho Жыл бұрын
Thank you.
@CodesEasy
@CodesEasy Жыл бұрын
Glad you liked it
@rohitmarthak7747
@rohitmarthak7747 Жыл бұрын
What if I don't have a domain
@CodesEasy
@CodesEasy Жыл бұрын
You can use local host for testing purpose
@gauravsaraswat7499
@gauravsaraswat7499 7 ай бұрын
have you resolved the issue? i also don't have a domain
@chandankumar529
@chandankumar529 Жыл бұрын
After publishing the app One tap sign in is not working.
@CodesEasy
@CodesEasy Жыл бұрын
Most probably signature change
@chandankumar529
@chandankumar529 Жыл бұрын
Which signature?
@fernandox1985
@fernandox1985 9 ай бұрын
I have the same problem. Did you already solve that?
@hcrnn7518
@hcrnn7518 Жыл бұрын
kotlin time now..no one behind
@CodesEasy
@CodesEasy Жыл бұрын
Sure, we will start making kotlin videos too.
@i_Am_mysterio
@i_Am_mysterio Жыл бұрын
always telling half information, unsubscribe this channel
@CodesEasy
@CodesEasy Жыл бұрын
Please let us know what you want to know or what we missed in the video. This will definitely help us improve and also help you right now 😀
@sc5shout
@sc5shout Жыл бұрын
startIntentSenderForResult( result.getPendingIntent().getIntentSender(), REQ_ONE_TAP, null, 0, 0, 0); gives me this error: error: method startIntentSenderForResult in class Fragment cannot be applied to given types; startIntentSenderForResult( ^ required: IntentSender,int,Intent,int,int,int,Bundle found: IntentSender,int,,int,int,int reason: actual and formal argument lists differ in length it means that the third argument cannot be null. How to fix it?
@CodesEasy
@CodesEasy Жыл бұрын
Don't use start intent for result. Watch the video complete. It will be changed to new method
@HenriqueSouza3X
@HenriqueSouza3X Жыл бұрын
Even reading the documentation I was making several small errors. Thanks for the detailed video!
@CodesEasy
@CodesEasy Жыл бұрын
Glad it helped!
OAuth в мобильных приложениях
41:55
Android Broadcast. Все об Андроид разработке
Рет қаралды 11 М.
Every parent is like this ❤️💚💚💜💙
00:10
Like Asiya
Рет қаралды 25 МЛН
РОДИТЕЛИ НА ШКОЛЬНОМ ПРАЗДНИКЕ
01:00
SIDELNIKOVVV
Рет қаралды 3,8 МЛН
How to implement Bottom Navigation in Android
18:02
Codes Easy
Рет қаралды 9 М.
How to implement google one tap - One Tap sign-up/sign-in for Android
17:30
TutorialMadeSimple
Рет қаралды 4,7 М.
Most overpowered way to build mobile apps?
8:33
Beyond Fireship
Рет қаралды 819 М.
Sign In with Google | React Native Expo | Tutorial 2024
15:11
Omatsola Dev
Рет қаралды 7 М.
Projeto com Springboot e Thymeleaf
58:51
Edson Belém Treinamento
Рет қаралды 27
Every parent is like this ❤️💚💚💜💙
00:10
Like Asiya
Рет қаралды 25 МЛН