Google oAuth with React | React Google API Login | Google oAuth React Login | Source code | 100%

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

This is the most complete up to date walkthrough I've found - others skip over the consent page. Thank you!

Saiphes
Автор

Thanks, straight to the point, short and precise.

sedricknyanyiwa
Автор

Bro loved it🥳.. I have spend whole day to crack it... But finally this vedio helped me.

Anonymous-rkjs
Автор

Hello sir, I followed your tutorial but I am getting a warning in console:
Because a cookie’s SameSite attribute was not set or is invalid, it defaults to SameSite=Lax, which prevents the cookie from being sent in a cross-site request. This behavior protects user data from accidentally leaking to third parties and cross-site request forgery.
Resolve this issue by updating the attributes of the cookie:
Specify SameSite=None and Secure if the cookie should be sent in cross-site requests. This enables third-party use.
Specify SameSite=Strict or SameSite=Lax if the cookie should not be sent in cross-site requests.

I am not able to get the token.Thanks in advance for any help or guidance.

vidushitickoo
Автор

Now this is what a tutorial has to be for a beginner. Perfect..

sahilgarat
Автор

Thank you so much, I made it and it works.

fromthestate
Автор

Is there another step to it before we can use that information to log in/ register? Because it is now the front end javascript which has received the response and not the backend server. How to verify that data from the backend server?

hemant_hegde
Автор

thank you so much. You save my life :)

anacarolinacosta
Автор

Thank You so much! This worked with my project as well, not just on localhost!

reuelsam
Автор

This is f***ing brilliant. Thank you, my good man

sreekarreddy
Автор

I'm not getting refresh token in response, how to get it?

Cuisine-with-manisha
Автор

nice worked straight forward, love it

rukewveofobrukweta
Автор

Does this use Google Sign-In or the new Sign In With Google ?
The former is going to be discontinued in 2023

piyushaggarwal
Автор

nice tutorial. But I have an issue and stuck for hours. How can I request "getServerAuthToken" with this module?

yuv
Автор

Should I count on email based authentication for an admin panel?
I mean by checking if the email is the one setted for the admin...

MajorAzoulay
Автор

brother please answer this important question. by getting api key from google is this fully free? only for google sign in / log in or we have to pay

showbikshowmma
Автор

how do i integrate with my application?

I can pass the login resonse data to my server and return a token so that I can identify a user is logged in.
But the question is, how would I verify that the login data is correct since anyone can make a request to my api route with fake login data.
So is there a way to verify the whole login response object in the server side to check if the information is correct?

mdridoy-efpw
Автор

i don't get why you converted to class component..any specific reason???

arpansingh
Автор

Thank you, this was very quick and helpful!

Kabootari
Автор

Excellent thank you !
what i want to understand is why the AuthO service is not free ? since it uses free native browser api to connect to google, facebook and everything else, i cant understand the difference between what you showed which is free and services like FirebaseAuth or AuthO ? can someone explain ?

aghileslounis
join shbcf.ru