Sign in with Google on Expo React Native

  Рет қаралды 35,308

Supabase

Supabase

Күн бұрын

Пікірлер: 88
@cristianmerli5050
@cristianmerli5050 2 ай бұрын
why did the google sign in process become so complex??
@LAinLA86
@LAinLA86 23 күн бұрын
Its shocking how awful Google is with creating and publishing apps. The difficulty level of doing the most basic things is incredible
@kehrin
@kehrin 28 күн бұрын
Had it running perfectly in the Emulator, however I had to make some further modifications to get it to work in a production build on an actual device: 1. Upon sign-in I got a stacktrace with the error "DEVELOPER_ERROR:10". Turns out I had to use the SHA-1 from the "Setup > App signing > SHA-1" in the Google Play Console. 2. In Supabase I had to put my Web Client Credentials (Client ID & Secret) into the Google Provider. I also added the same Web Client ID into the Authorized Client IDs field. Hope this helps.
@isegofficial
@isegofficial 15 күн бұрын
Hopefully this helps me. Will be back with feedback
@oracleofwater
@oracleofwater 2 ай бұрын
This is the only tutorial I've found that is clear and actually works. Thank you so much!
@hastingskondwani1066
@hastingskondwani1066 11 ай бұрын
Please make a continuation video where the authenticated user is interacting with the supabase database ie creating something like posts
@Supabase
@Supabase 10 ай бұрын
Here it is :) kzbin.info/www/bejne/d3aalX5_gLJ9r5Y
@jakubmuzik3296
@jakubmuzik3296 3 ай бұрын
Hello, does this work with Expo managed apps? Or only with bare ones ?
@AgritTiwari
@AgritTiwari 4 ай бұрын
hey, how about native google sign in on Apple applications, it returns mismatch as it seems there is no place to add iOS client ID under google provider
@user-uw5bi9lj9d
@user-uw5bi9lj9d 6 ай бұрын
Great video, met supabase for this video and really love supabase now!
@mr.robot.159
@mr.robot.159 25 күн бұрын
Documentation on Sign in with google page says that sign in with google is outdated and no longer supported, how can we use the android credential manager to login in instead?
@p_003hiralbhavsar6
@p_003hiralbhavsar6 22 күн бұрын
Thanks your video is so helpful
@alaa_abuiteiwi
@alaa_abuiteiwi Ай бұрын
Public Version: Available on the public npm registry, this version does not include One-tap sign-in (it uses the deprecated Google Sign-In for Android), Web and macOS support found in the sponsor-only version. ------ Why would I use it then?
@RolandoRc2503
@RolandoRc2503 2 ай бұрын
Hola, todos los que hablan españo, tuve un pequeño impedimento, en el cual salia el error de ERROR_DEVELOPMEN, en lo cual se soluciono creando otra api key y generando nuevamente el hash key y funcionó
@priyanshuone6
@priyanshuone6 8 ай бұрын
Thank you so much, this tutorial was very helpful!
@benherbst3620
@benherbst3620 11 ай бұрын
Great you sponsor it ❤
@armyofda12monkeys
@armyofda12monkeys 9 ай бұрын
I got this error towards the end of the video when i added utils/supabase. The app worked fine be4 trying to load supabase. Note: don't think it was in the video but I installed react-native-url-polyfill with "npx expo install react-native-url-polyfill;" Any idea? ERROR Error: URL.hostname is not implemented, js engine: hermes ERROR Invariant Violation: "main" has not been registered.
@armyofda12monkeys
@armyofda12monkeys 9 ай бұрын
nvm, i manually uninstalled the app from the emulator. and re-ran the 'npx expo run:android'. I think it worked after that.
@tatsumii1420
@tatsumii1420 11 ай бұрын
thank you for the amzing tutorial
@bakkg8573
@bakkg8573 4 ай бұрын
Warning: Google Sign-In for Android is outdated and no longer supported. google now forcing to use credential manager
@sutharjay1
@sutharjay1 3 ай бұрын
Yes RNGooglesign is not working with expo
@MrMatDoe
@MrMatDoe 3 ай бұрын
Is there a tutorial or guide on how to implement it using credential manager? if there is then can you provide a link to the guide?
@huangded
@huangded 3 ай бұрын
@@sutharjay1 so how to do that
@justrensk
@justrensk 8 ай бұрын
am I the only one stucket with an error 400 from google? "this app doesn't comply with google's Oauth2"
@humblewinner
@humblewinner 11 ай бұрын
Finally, you guys have been so focused on flutter that you've missed the more popular alternative.
@PrinzEugen39
@PrinzEugen39 9 ай бұрын
error in the chapter implement sign in button ERROR RN GoogleSignin native module is not correctly linked. Please read the readme, setup and troubleshooting instructions carefully or try manual linking. ERROR TypeError: Cannot read property 'SIGN_IN_CANCELLED' of null, js engine: hermes
@ntalam
@ntalam 2 ай бұрын
for these kind of sht I stopped using react native. Everything involves a cascade of "before doing this..."
@facundotorres7690
@facundotorres7690 10 ай бұрын
Hello great video, but im having this problem: RN GoogleSignin native module is not correctly linked. Please read the readme, setup and troubleshooting instructions carefully or try manual linking. Do you have any advice?
@rubenandiapimentel
@rubenandiapimentel 9 ай бұрын
hi, the problem you have is a bout you cant run google-sign-in library on expo go, if you see the app.json you find the path "googleServicesFile": "./android/app/google-services.json", you will never be able to connect that in expo go, the explanation is long ,instead of that run npx expo run:android.
@bartoindahouse
@bartoindahouse 11 ай бұрын
question. You are setting the expo config plugin. There is no need to touch the native code when building with expo eas
@vonovak
@vonovak 11 ай бұрын
this is correct, you actually don't need to touch any native code when using the expo config plugin, so you can ignore the part here kzbin.info/www/bejne/rKDNeaB9iqyIfcUsi=C3h9whxrB21Vxo-s&t=368 This is because RNGS already adds that dependency, so no need to do it again. (I'm the maintainer of RN google sign in)
@Supabase
@Supabase 11 ай бұрын
You are correct, thanks for pointing that out! Will see to update the README and the video.
@armyofda12monkeys
@armyofda12monkeys 9 ай бұрын
I was about to ask if instead of touching the native code, if this tutorial can be done completely in Expo (fully managed workflow) pretend using a 'Development Build' instead of prebuilding and touching the generated android code. I saw your comment and was wondering if you got this working purely with JS/TypeScript expo code? If so, how would the steps in this tutorial change?
@vonovak
@vonovak 9 ай бұрын
@@armyofda12monkeys you do need to prebuild. But after that, there's no touching of the native code. It cannot be done purely with JS code, so google sign in won't work in Expo Go
@kpopcat_official
@kpopcat_official 9 ай бұрын
what is the problem with IOS? Could you explain how to work with IOS?
@tmc1049
@tmc1049 8 ай бұрын
i recommend read the docs
@FichTV
@FichTV 4 ай бұрын
I followed every step until 16:40, the Google pop-up shows and when I connect with google I have a [Error: DEVELOPER_ERROR]. I checked my SHA 1, my package name, ma AndroidManifest, my string.xml, the set up un my Google Console... Can someone give me some advice to debug that ? :) thanks !
@shadow-hr3vo
@shadow-hr3vo 4 ай бұрын
i also get error like you, then i can't slove it. Is anyone can help me ? :)
@MahatmaAcademy
@MahatmaAcademy 11 ай бұрын
why the self hosted version different from platform version and also make the same as platform for self hosted
@Alphfirm
@Alphfirm 8 ай бұрын
If I follow these steps, will it work on my iOS app as well?
@tmc1049
@tmc1049 8 ай бұрын
probably not
@ashminjayson3978
@ashminjayson3978 9 ай бұрын
Isn't the library using the legacy auth method for this flow though?
@999waylon
@999waylon 8 ай бұрын
The legacy auth method is also unsupported now, so I'm not sure how to get this working without paying the maintainer of the library they use for the updated version. Did you find a different way to implement this?
@developerpaul46
@developerpaul46 11 ай бұрын
Hi supabase, do you have tutorial on how to combine supabase and react query?
@Supabase
@Supabase 10 ай бұрын
This is a good one by a community member: makerkit.dev/blog/saas/supabase-react-query
@ReadWriteExercise
@ReadWriteExercise 5 ай бұрын
This is for the "Original Google sign in" right? Seems the maintainer has now split it so there's a "One-tap Google sign in" version for sponsors only. Just want to see which version this is for
@BradyDowling
@BradyDowling Ай бұрын
Just ignore the One-tap Google sign in and do the original way. That way will work just fine, no need to pay for the premium version of the Google sign in for react library
@nyogrson1
@nyogrson1 4 ай бұрын
Why are there so many different processes for this? just need a working solution that hasn't been deprecated yet
@IgnacioBarraZagal0
@IgnacioBarraZagal0 5 ай бұрын
Super useful video!😀
@asaphhere
@asaphhere 9 ай бұрын
this is now outdated :( please can you upload a new video
@ibrahimkouma6751
@ibrahimkouma6751 5 ай бұрын
You can integrate with web based auth without relying on react native google sign in. that's the way we are doing it in production
@ibrahimkouma6751
@ibrahimkouma6751 5 ай бұрын
You can integrate with web based auth without relying on react native google sign in. that's the way we are doing it in production.
@user-jm2rq7ro7v
@user-jm2rq7ro7v 5 ай бұрын
Qual a opção mais atualizada para isso? Você tem alguma alternativa?
@harunsimsek724
@harunsimsek724 11 ай бұрын
I urgently need the Flutter version :)
@Supabase
@Supabase 11 ай бұрын
Coming right up!
@J3R3MI6
@J3R3MI6 10 ай бұрын
Same lol
@harunsimsek724
@harunsimsek724 10 ай бұрын
@@J3R3MI6 I found the solution but it would still be good for other friends to have a video
@faisalaqdas4953
@faisalaqdas4953 10 ай бұрын
can we do google passkey authentication with expo?
@harshupgrader1380
@harshupgrader1380 9 ай бұрын
Error: DEVELOPER_ERROR i dont know wt to do now
@tadeorimoli7170
@tadeorimoli7170 9 ай бұрын
Did you find a solution?
@arory2622
@arory2622 5 ай бұрын
and in js?
@mihaipaval6970
@mihaipaval6970 11 ай бұрын
Hello. I am at 16:17 and the google popup opens, I am able to select a google account but when I press "next" it says "Something went wrong" and if I press the "next" button again I get redirect to a browser with 400 error saying "The server cannot process the request because it is malformed. It should not be retried" did you encounter this error? or what could be the isse? thank you!
@mihaipaval6970
@mihaipaval6970 11 ай бұрын
I was using my mobile device connected via USB Debugging. this was the issue!
@user-ig2er6pd6v
@user-ig2er6pd6v 4 ай бұрын
Bro, i have this problem, any idea?? ERROR Invariant Violation: "main" has not been registered. This can happen if: * Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project. * A module failed to load due to an error and `AppRegistry.registerComponent` wasn't called., js engine: hermes
@emanuilnikolov8662
@emanuilnikolov8662 3 ай бұрын
Had same issue yesterday. What did it for me is delete .expo, node-modules, android, ios folders from root of project. Then do npx expo prebuild --clean and npx react-native start --reset-cache Also I had an issue with upgrading to expo SDK 51 from 49: in the package.json your "main" should actually point to your entry point, can't use the expo-router/entry as before. Next thing is that at the end of your entry point file you should always have the registerRootComponent(App); where App is your entry point component name. Hope this helps!
@kapilbadokar
@kapilbadokar 2 ай бұрын
How did you fixed this issue?
@TalhaGhouri-w9b
@TalhaGhouri-w9b Ай бұрын
​@@emanuilnikolov8662 can you please share the code if you Have implemented this functionality please
@korveld
@korveld 6 ай бұрын
Thanks! Works perfectly localy, but after i build an apk file and install it on real device. "Sign in" button stops working with no errors. Just nothing happens when i try to tap it
@huangded
@huangded 3 ай бұрын
Hi! may I ask how you ultimately completed this task? I have been working on it recently,I'd appreciate some help
@dimenuendo
@dimenuendo Ай бұрын
seems like it not compatible with expo 51
@alberttarkaa6589
@alberttarkaa6589 20 күн бұрын
Hey, have you found something that works? I am stuck here too
@dimenuendo
@dimenuendo 19 күн бұрын
@@alberttarkaa6589 yes, i've did it. Later I can link my code that works (if not forget)
@sgnlx_ai
@sgnlx_ai 10 ай бұрын
"supabase start" never worked on any machine for me.
@Piggiesgod
@Piggiesgod 3 ай бұрын
you need the supabase cli for selfhost, but you propably go with cloud, so its not for you
@developerud
@developerud 4 ай бұрын
google sign in authentication not working on realease apk
@Supabase
@Supabase 4 ай бұрын
Have you registered the Client ID with the release SHA-1 certificate fingerprint?
@MosesHashim3
@MosesHashim3 7 күн бұрын
I think I hate Google so much. Thanks
@qutesoft
@qutesoft 11 ай бұрын
Seems in iOS is not woking, it reports [AuthApiError: Passed nonce and nonce in id_token should either both exist or not.]
@williamliu796
@williamliu796 11 ай бұрын
im having this same problem
@qutesoft
@qutesoft 11 ай бұрын
@@williamliu796 Have you solved it? I'm looking to firebase now
@Supabase
@Supabase 11 ай бұрын
Yes, there is currently an issue with iOS that's being worked on. Please follow along here: github.com/openid/AppAuth-iOS/pull/788
@audunhilden
@audunhilden 10 ай бұрын
hi@@Supabase , the issue you linked to seem to be fixed, when can we expect it to work?
@McQuinTrix
@McQuinTrix 9 ай бұрын
@@Supabase Does it work now ?
Passwordless OTP Auth with SMS & WhatsApp with Twilio Verify
11:45
У ГОРДЕЯ ПОЖАР в ОФИСЕ!
01:01
Дима Гордей
Рет қаралды 7 МЛН
React Native Firebase - Google Sign In Tutorial 🔥
1:04:26
Code with Beto
Рет қаралды 44 М.
Sign In with Google | React Native Expo | Tutorial 2024
15:11
Omatsola Dev
Рет қаралды 4,5 М.
Sign in with Apple on Expo React Native
16:43
Supabase
Рет қаралды 10 М.
React Native Authentication with Firebase and Expo in 27 minutes
27:49
Made With Matt
Рет қаралды 256 М.
Supabase Auth Deep Dive Part 5: Google OAuth Provider
8:24
Supabase
Рет қаралды 26 М.
React Native Login with JWT Auth Context
24:59
Simon Grimm
Рет қаралды 59 М.
Setup Google OAuth sign in 6 minutes
6:51
Appwrite
Рет қаралды 48 М.
Building a Mobile App in 2024: The BEST Technologies
13:31
Dan Ilies
Рет қаралды 28 М.
I gave AI full control over my database (postgres.new)
6:31
Supabase
Рет қаралды 33 М.