React js firebase phone authentication | Send OTP And Verify phone number |

  Рет қаралды 79,093

Code A Program

Code A Program

Күн бұрын

Пікірлер: 122
@ManishYadav-vm6lk
@ManishYadav-vm6lk 7 ай бұрын
Brother, I was very worried, I was not able to do it. When I saw your video, my problem got solved. Very very thanks brother.
@ashik_mahmood
@ashik_mahmood 8 ай бұрын
Got the lesson useful. That's why subscribing the channel. Hope for the best brother.
@dhayanandt5011
@dhayanandt5011 4 ай бұрын
@ashik_mahmood send code
@matei5054
@matei5054 Жыл бұрын
17:06 for firebase
@ankitprajapati3728
@ankitprajapati3728 Жыл бұрын
love you bro code is working i face error on phone authentication many times but you solved
@pawanyadav4024
@pawanyadav4024 Жыл бұрын
Thanks sridhar , the video and code was really helpful
@SharadT-i9m
@SharadT-i9m 6 ай бұрын
Very useful tutorial, it is working for me. Thank you.
@developerakhter______0076
@developerakhter______0076 Жыл бұрын
*You are a genius mann.... Gained 1 subscriber*
@Podcast_ai_01
@Podcast_ai_01 Жыл бұрын
Please make a video for email verification also using firebase and tailwind also.
@anassamire2980
@anassamire2980 Жыл бұрын
This was useful but I ran into a problem when I accessed the global file and entered the Index.html project I find this page is blank, please reply
@lokesh7004
@lokesh7004 3 ай бұрын
I always getting firebase error auth/billing not enabled, so couldn't i get an otp for mobile number in free plan?
@SwapnilSoni
@SwapnilSoni Жыл бұрын
so keeping these credentials on client side is safe?
@rfryanfavour4369
@rfryanfavour4369 Жыл бұрын
But now ill use all of these 😂❤ appreciate bro
@shreeyanshsingh6623
@shreeyanshsingh6623 Жыл бұрын
How you added that recaptcha which you had shown in the starting "Send Code Via SMS"?
@satyamkumar6469
@satyamkumar6469 11 ай бұрын
You can put size to normal instead of invisible in recaptchaVerifier
@dhayanandt5011
@dhayanandt5011 4 ай бұрын
​@@satyamkumar6469 bro unnoda code send pannu bro
@rfryanfavour4369
@rfryanfavour4369 Жыл бұрын
That input was all i needed thanks❤
@Shahriyor-c3j
@Shahriyor-c3j 11 ай бұрын
0000000000000000
@danielvega646
@danielvega646 Жыл бұрын
Is this freemium? Or do I have to pay something from the beginning? thank you so much for uploading this!
@Frontend-oy5cx
@Frontend-oy5cx 9 ай бұрын
Why does he only send SMS to my number and not others?
@lahikahmed9253
@lahikahmed9253 8 ай бұрын
I think it's for free version. You should pay for verify other numbers
@Frontend-oy5cx
@Frontend-oy5cx 8 ай бұрын
@@lahikahmed9253 thanks
@santhoshanupoju-l3w
@santhoshanupoju-l3w Жыл бұрын
Component auth has not been registered yet , getting this error could anyone please solve this
@MyWorkup-e5s
@MyWorkup-e5s Жыл бұрын
I'm getting an error that says "cannot read undefined (reading 'appVerificationDisabledForTesing') so what can I do now??? 😭
@vaibhawkr3904
@vaibhawkr3904 Жыл бұрын
found any solution?
@feelthemusic3511
@feelthemusic3511 Жыл бұрын
I also get it bro you found any solution
@biraniv
@biraniv Жыл бұрын
I faced the same issue and fixed it by editing the function like this: const onSignup = () => { setLoading(true) onCaptchVerify() const appVerifier = window.recaptchaVerifier; const formatPh = '+' + ph; signInWithPhoneNumber(auth, formatPh, appVerifier) .then((confirmationResult) => { window.confirmationResult = confirmationResult; setLoading(false) setShowOTP(true) toast.success("OTP sended successfully!") }).catch((error) => { console.log(error) setLoading(false) }); }
@web-Girish
@web-Girish 4 ай бұрын
bro just do npm uninstall firebase then npm i firebase9.15.1
@web-Girish
@web-Girish 4 ай бұрын
npm i firebase@9.15.1
@msdrd
@msdrd Жыл бұрын
Dude , I can sign in with phone number also I can sign out with phone number but I couldnt solve how can I login with phone number ???
@prathmeshsagole4325
@prathmeshsagole4325 9 ай бұрын
Does the otp code comes from the sms??
@prajjwalsharma6700
@prajjwalsharma6700 Жыл бұрын
i am getting "Error updating phone" while saving phone auth in firebase
@preshndams
@preshndams 2 жыл бұрын
Impressive guys
@nithishar2781
@nithishar2781 Жыл бұрын
TypeError: Cannot read properties of undefined (reading 'appVerificationDisabledForTesting') I used the same method but I am ending up with this error, can u please help me with it
@hardikmaind9833
@hardikmaind9833 Жыл бұрын
i am facing the same error bro
@vaibhawkr3904
@vaibhawkr3904 Жыл бұрын
any solution?
@santhoshanupoju-l3w
@santhoshanupoju-l3w Жыл бұрын
Component auth has not been registered yet I am getting this error
@mahimaarora2841
@mahimaarora2841 Жыл бұрын
did you get the solution?
@biraniv
@biraniv Жыл бұрын
I faced the same issue and fixed it by editing the function like this: const onSignup = () => { setLoading(true) onCaptchVerify() const appVerifier = window.recaptchaVerifier; const formatPh = '+' + ph; signInWithPhoneNumber(auth, formatPh, appVerifier) .then((confirmationResult) => { window.confirmationResult = confirmationResult; setLoading(false) setShowOTP(true) toast.success("OTP sended successfully!") }).catch((error) => { console.log(error) setLoading(false) }); }
@santhoshanupoju-l3w
@santhoshanupoju-l3w Жыл бұрын
Component auth has not been registered yet , bro can make solution for this
@pintudebnath1524
@pintudebnath1524 Жыл бұрын
Thank you it worked without any problems thank you so much
@sakavytech9141
@sakavytech9141 Жыл бұрын
bro can u help doing vue 3 js too . i tried but it's not working well
@2JZ-it8ug
@2JZ-it8ug 3 ай бұрын
localhost is not allowed as a hosted domain for the purposes of phone auth. how do you run on localhost?
@MuhammadAhmad-vc6xd
@MuhammadAhmad-vc6xd 6 ай бұрын
it give me Cannot read properties of undefined (reading 'appVerificationDisabledForTesting') ........and soo on
@MuhammadAhmad-vc6xd
@MuhammadAhmad-vc6xd 6 ай бұрын
I FOUND THE SOLUTION: (Use this function in the code) function onCaptchVerify() { if (!window.recaptchaVerifier) { window.recaptchaVerifier = new RecaptchaVerifier( auth, "recaptcha-container", { size: "invisible", callback: (response) => { onSignup(); }, "expired-callback": () => {}, } ); } }
@sajidhmohammad7976
@sajidhmohammad7976 3 ай бұрын
Same bro
@lokesh7004
@lokesh7004 3 ай бұрын
Auth mention as first parameter in funtion
@adamdevelops
@adamdevelops Жыл бұрын
Thank you so much bro. You saved the day!
@luisaquinoc6548
@luisaquinoc6548 2 жыл бұрын
Me encantó.... Excelente !!! gracias por compartir !!!
@msdrd
@msdrd Жыл бұрын
Hello I did it also I can signout but how can I login ???
@asfandkhan6206
@asfandkhan6206 Жыл бұрын
can you help, its not working on my web... :(
@vanpariyadeep2084
@vanpariyadeep2084 Жыл бұрын
Very impressive But how to keep logged in?
@shreebaskar2002
@shreebaskar2002 9 ай бұрын
I did everything but appVerificationDisabledfor testing error is coming
@Vampion
@Vampion 9 ай бұрын
yes i created video for solution kzbin.info/www/bejne/paCye4ytbK6Yl5I
@web-Girish
@web-Girish 4 ай бұрын
just change your firebase version just do unistall your firebase then npm install firebase@9.15.1
@mahipalkeluth3740
@mahipalkeluth3740 Жыл бұрын
For me it is showing toast not defined
@BeingChoudhary
@BeingChoudhary Жыл бұрын
what is the name of your code editor theme and who built that?
@TheRageCommenter
@TheRageCommenter 10 ай бұрын
It's vsCode as the editor and the theme is called Synthwave '84. To get the glow around the words you need to do extra set up described on the theme's install page. Good luck.
@ArbazKhan-qm2vc
@ArbazKhan-qm2vc 3 ай бұрын
can you do an example using webotp api
@OnlyJavascript
@OnlyJavascript 2 жыл бұрын
can we do this in MERN stack?? If possible can you teach us?
@OnlyJavascript
@OnlyJavascript Жыл бұрын
Can you please teach us complete auth system in MERN stack including this otp feature.
@moises-native4829
@moises-native4829 Жыл бұрын
Si quieres editar el numero e ir atras lo pensaste ? Como harias ? dos paginas o trabajar el back button ?
@yashsinha9204
@yashsinha9204 Жыл бұрын
FirebaseError: Firebase: Exceeded quota. (auth/quota-exceeded). Do I need to upgrade the firebase plan?
@nimat9034
@nimat9034 Жыл бұрын
Yes you have to upgrade to blaze or create a new project.
@roar3850
@roar3850 Жыл бұрын
bro what is theme name? your code have gradient effect.
@CodeAProgram
@CodeAProgram Жыл бұрын
Synthwave 84
@roar3850
@roar3850 Жыл бұрын
Thanks bro
@AbhayDeshwal-sj5bg
@AbhayDeshwal-sj5bg 6 ай бұрын
please tell me what is your theme name of vs code
@nftcafe
@nftcafe Жыл бұрын
getting error Cannot read properties of undefined (reading 'appVerificationDisabledForTesting') TypeError: Cannot read properties of undefined (reading 'appVerificationDisabledForTesting') help me out with solution?
@biraniv
@biraniv Жыл бұрын
I faced the same issue and fixed it by editing the function like this: const onSignup = () => { setLoading(true) onCaptchVerify() const appVerifier = window.recaptchaVerifier; const formatPh = '+' + ph; signInWithPhoneNumber(auth, formatPh, appVerifier) .then((confirmationResult) => { window.confirmationResult = confirmationResult; setLoading(false) setShowOTP(true) toast.success("OTP sended successfully!") }).catch((error) => { console.log(error) setLoading(false) }); }
@nftcafe
@nftcafe Жыл бұрын
thank u @@biraniv
@OutsidePro9
@OutsidePro9 2 ай бұрын
i error : appVerificationDisabledForTesting
@suhanisha-rl4yr
@suhanisha-rl4yr 3 ай бұрын
otp not come 24 daily quat over also
@mohammedehab8987
@mohammedehab8987 4 ай бұрын
is it on laravel ?
@chukslite
@chukslite 2 жыл бұрын
This is wonderful.
@garryparker4753
@garryparker4753 Жыл бұрын
thanks bro this video is very helpful
@CodeAProgram
@CodeAProgram Жыл бұрын
Share and subscribe ❤️
@garryparker4753
@garryparker4753 Жыл бұрын
@@CodeAProgram ok
@ZakirBhai-y2d
@ZakirBhai-y2d Жыл бұрын
can anyone give code beacuse this github is not working in my vs code.
@ajayratnaparkhi7069
@ajayratnaparkhi7069 Жыл бұрын
which vscode theme u r using
@CodeAProgram
@CodeAProgram Жыл бұрын
Synthwave 84
@macanari
@macanari Жыл бұрын
can't run it on vscode
@dragonwarrior7246
@dragonwarrior7246 Жыл бұрын
is capcha verification compulsary for phone authentication ?
@satyamkumar6469
@satyamkumar6469 11 ай бұрын
Not sure that it is necessary but firebase doc says it needs to be verified to check this requests comes from the right person (not from attacker)
@Andres-mu3ng
@Andres-mu3ng Жыл бұрын
Thanks its very interesting
@Andres-mu3ng
@Andres-mu3ng Жыл бұрын
Only i have a cuestion why return Recapcha error? FirebaseError: Firebase: Recaptcha verification failed - DUPE (auth/captcha-check-failed).
@TrustChocha
@TrustChocha 10 ай бұрын
Great content
@CodeAProgram
@CodeAProgram 10 ай бұрын
Thank you, share and subscribe
@PavanArjunSR
@PavanArjunSR Жыл бұрын
thank u sooooooooooooooooooooooo much bro.
@mohdarish4195
@mohdarish4195 7 ай бұрын
Awesome🎉
@priyanksoni1235
@priyanksoni1235 6 ай бұрын
bro i can't write the css in the section in classname
@sagarsagu4788
@sagarsagu4788 4 ай бұрын
import tailwindcss then again if problem persists then press debug option in package.json file
@muunuu157
@muunuu157 6 ай бұрын
Too many unnecessary things, just get straight to the point!
@ayushmanbarick8007
@ayushmanbarick8007 12 күн бұрын
Really useful
@anhnguyenhoai9003
@anhnguyenhoai9003 10 ай бұрын
done it. thanks
@mahimaarora2841
@mahimaarora2841 Жыл бұрын
Can someone please help me with this error: Cannot read properties of undefined (reading 'appVerificationDisabledForTesting') TypeError: Cannot read properties of undefined (reading 'appVerificationDisabledForTesting') at new RecaptchaVerifier
@Nh_Sohan
@Nh_Sohan Жыл бұрын
same problem
@biraniv
@biraniv Жыл бұрын
I faced the same issue and fixed it by editing the function like this: const onSignup = () => { setLoading(true) onCaptchVerify() const appVerifier = window.recaptchaVerifier; const formatPh = '+' + ph; signInWithPhoneNumber(auth, formatPh, appVerifier) .then((confirmationResult) => { window.confirmationResult = confirmationResult; setLoading(false) setShowOTP(true) toast.success("OTP sended successfully!") }).catch((error) => { console.log(error) setLoading(false) }); }
@nandinirouth8737
@nandinirouth8737 Жыл бұрын
hey i tried your code still getting the same error @@biraniv
@Marina-1-7
@Marina-1-7 11 ай бұрын
In Firebase v10 - ther order of arguments in RecaptchaVerifier changed, 'auth' comes first: window.recaptchaVerifier = new RecaptchaVerifier( auth, "recaptcha-container", { size: "invisible", callback: (response) => { onSignup(); }, "expired-callback": () => { }, } );
@Marina-1-7
@Marina-1-7 11 ай бұрын
in Firebase v.10 RecaptchaVerifier seems to have another order of arguments, 'auth' comes first. Try this code: window.recaptchaVerifier = new RecaptchaVerifier( auth, "recaptcha-container", { size: "invisible", callback: (response) => { onSignup(); }, "expired-callback": () => { }, } );
@RudraShejwal-jv2bf
@RudraShejwal-jv2bf 5 ай бұрын
Its really worked
@dhayanandt5011
@dhayanandt5011 4 ай бұрын
Send copy bro
@RudraShejwal-jv2bf
@RudraShejwal-jv2bf 4 ай бұрын
@@dhayanandt5011 are bhai Pehele run hogya fir badme do tin din bad try kiya to Run nhi ho rha hai
@dhayanandt5011
@dhayanandt5011 4 ай бұрын
@@RudraShejwal-jv2bf send code bro GitHub
@dhayanandt5011
@dhayanandt5011 4 ай бұрын
Send code bro GitHub
@yogeshpal8946
@yogeshpal8946 3 ай бұрын
it is free or paid???????????????????
@PulkitMalhotra
@PulkitMalhotra 6 ай бұрын
Good content bad code quality
@OnlyJavascript
@OnlyJavascript 2 жыл бұрын
perfect.
@ShoxzodRunning
@ShoxzodRunning 11 ай бұрын
❤❤❤❤❤❤❤
@SandeepMaraboina
@SandeepMaraboina 7 ай бұрын
i am getting this error when i solve captcha Uncaught TypeError: Cannot read properties of null (reading 'style') at Array. (recaptcha__en.js:506:268) at b1. (recaptcha__en.js:449:86)
@msdrd
@msdrd Жыл бұрын
{ "error": { "code": 400, "message": "TOO_MANY_ATTEMPTS_TRY_LATER", "errors": [ { "message": "TOO_MANY_ATTEMPTS_TRY_LATER", "domain": "global", "reason": "invalid" } ] } }
@askarzhaanbaev5834
@askarzhaanbaev5834 Жыл бұрын
index-9a76d29a.js:8079 Uncaught TypeError: Cannot read properties of undefined (reading 'appVerificationDisabledForTesting') HELP
@biraniv
@biraniv Жыл бұрын
I faced the same issue and fixed it by editing the function like this: const onSignup = () => { setLoading(true) onCaptchVerify() const appVerifier = window.recaptchaVerifier; const formatPh = '+' + ph; signInWithPhoneNumber(auth, formatPh, appVerifier) .then((confirmationResult) => { window.confirmationResult = confirmationResult; setLoading(false) setShowOTP(true) toast.success("OTP sended successfully!") }).catch((error) => { console.log(error) setLoading(false) }); }
Firebase - Back to the Basics
25:23
Fireship
Рет қаралды 602 М.
요즘유행 찍는법
0:34
오마이비키 OMV
Рет қаралды 12 МЛН
БАБУШКА ШАРИТ #shorts
0:16
Паша Осадчий
Рет қаралды 4,1 МЛН
24 Часа в БОУЛИНГЕ !
27:03
A4
Рет қаралды 7 МЛН
Вопрос Ребром - Джиган
43:52
Gazgolder
Рет қаралды 3,8 МЛН
Ionic 7 Firebase Phone Authentication
24:30
Sunil Kumar
Рет қаралды 3,2 М.
No Code App Development is a Trap
9:31
Coding with Dee
Рет қаралды 352 М.
how to create OTP and PIN fields with React
11:21
Onoja Victor
Рет қаралды 6 М.
OTP verification in NextJS
17:07
Chai aur Code
Рет қаралды 13 М.
요즘유행 찍는법
0:34
오마이비키 OMV
Рет қаралды 12 МЛН